Use the notification service - Usage limitations

Hi forum,

I'm sorry if it has already appeared.
I would like to confirm that I am aware of the description of the following restrictions.

Questions.

  • Does this mean that you can create 20 channels for each OAuth that contents?
    • ex) OAuth A 20 created , Next B created -> "Is A removed?" or "Is not A removed?"
  • What does this "per user and application" suggest?

Thank you.
-- squid

Per the docs:

  • You can create up to 20 channels per user and application. When the channel limit is reached, then the new channel replaces the oldest channel that does not have an active connection.

This means that when then 21st channel is created, the oldest channel that is not in use will be removed. This can be any channel of the existing 20 that fits the description.

Channels are counted per user and application. An auth token for UserA using App1 can have 20 of its own channels. Additional auth tokens for UserA using App1 will be counted towards the same pool of 20. UserB using App1 will have a separate pool of 20, as will UserA using App2. The count is tabulated per combination of user and application.

Thanks Smith,

In other words.
Assuming you are using "ApiClient (loginClientCredentialsGrant)" on two servers,
We can create up to 20 channels per server, even if you use the same Oauth.
Do you have there is a recognition?

I don't think it matters,
About loginClientCredentialsGrant
setEnvironment with apiClient: "https://api.mypurecloud.jp"

Thank you,
squid_k5

Hello,

No, with Client Credentials grant, if your two servers use the same OAuth Client, it would be 20 channels shared by the two servers.
When using Client Credentials Grant, the user that Tim was mentioning above (UserA, UserB, ...) corresponds to the OAuth ClientID. I mean there are 20 channels shared across all connections/clients using this OAuth Client Credentials instance.
If you want to have 20 channels on server1 and 20 channels on server2, using an OAuth Client Credentials Grant approach, you would need to configure 2 OAuth Clients instances. One use by server1, one used by server2.

Regards,

Dear Jerome

Good day.
Thank you very much for your kind support.
The problem is solved.

Best regards,
squid_k5

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.