PingOne

Getting an access token

You can use the PingOne console to get the access token for an existing application. This allows you to get an access token without having to make an API call.

About this task

To get an access token, the following must be true:

  • The application is enabled.

  • The application has a grant type of Client credentials.

  • The application has a token endpoint authentication method of CLIENT_SECRET_BASIC or CLIENT_SECRET_POST.

  • The user has access to the client secret.

  • For a worker application, the application has the appropriate role assignments. For non-worker applications, the application has the appropriate scopes.

Steps

  1. Go to Applications → Applications.

  2. Locate the application for which you want to get the access token. You can browse or search for applications.

  3. Click the application entry to open the details panel.

  4. Click the Configuration tab, and then click the pencil icon.

  5. Click Get Access Token.

    On the Access Token window, you can select and copy the JSON, or click Copy Access Token to copy only the access token to your local clipboard.