PingOne Advanced Services

Authenticate using an authorization code flow

The API supports the authorization code flow, which gets access tokens by securely redirecting users to the authorization server for authentication.

Before you begin

After user accounts are created, you can assign the appropriate user access control roles and permissions. Users can then get an access token to use with API calls. Learn more about these roles and permissions in User access control roles.

Steps

  1. Go to the PingOne Advanced Services login URL:

    https://self-service-api.<environment>-<customer>.<region>.ping.cloud/api/v1/login/pingaccess

  2. Enter your credentials and click Submit.

    If authentication is successful, you’re redirected to the Success page and a Copy Token button displays.

  3. Click Copy Token.

  4. Query the API directly using tools such as Postman or cURL, and include the bearer token in the headers.

    Example

    {"Authorization": "Bearer {TOKEN}"}