Get Token

POST {{authUrl}}/{{envId}}/as/token

Get a token from the auth server using client credentials for a Worker App, and set the token as a global variable.

Request Variables

envId is the id of the PingOne environment you want an access token for.

clientId is the id of the application created in PingOne.

clientSecret is the secret associated with that clientId.

Request Body

[{"name"=>"grant_type", "value"=>"client_credentials", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring