My-authorization-code: Information about expiration time and question about the code generation

After we log in with the login URL and the clientID, we are redirected to the configured URL in the OAuth method:

http://example.com/oauth/callback?code=my-authorization-code

The question is the following:

The code ?code=my-authorization-code, is different than the token.

  1. What is the expiry time for this authorization code?
  2. For each sesion (login) for the same user account, do we have a different authorization code, or is it always the same?

Thanks in advance for your help and answers.

Regards,

Jorge Negri

The expiry time is in the response. This is shown here: https://developer.mypurecloud.com/api/rest/authorization/use-authorization-code.html

The auth code will work exactly once. When a user needs to be authorized, they must complete the full oauth flow each time.

Thanks Tim for your reply!

Regards

Jorge Negri

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