Access token is not getting generated

Hi All,

I am trying to understand the OAuth flow in the trial version of API management tool for client_credentials. Am using APIGW as auth server. Though am getting message “The access token has been requested and will be available soon”, The access token is not getting generated/sent over the mail. Could some one please help.

Thanks,
Kalpana

Hi Kalpana,
Can you please provide some more details. Which version of API Management tool are you using? Is it on-premise, if so have you configured SMTP?

Also, do check if you have configured any approval policy for user registration.

Regards.

Hi @KalpanaHV ,

I believe you were requesting a token from API Portal when you got the message you mentioned.
Please check the following setting in API Gateway Administration:

Destination->API Portal->Configuration->Gateway Configuration

Try entering the credentials for API Gateway administrator account here and click on publish. This will enable API Portal to be able to create applications within API Gateway when you request an access token.

If you do not have administrator account credentials for API Gateway, you will not be able to test this feature.

Thanks

If your access token is not generated.
Here are a few steps :

  1. Setup OAuth2.0 Provider with endpoints for authorization, access token and revoke the token.\ as well as grant type of Authorization Code.
  2. Configure an Authentication Profile with this provider and grant type. Provide client access info (identifier, secret, and redirect).
  3. Test connector.
    By trying these steps you would be able to generate the access token.