Authorization header (HTTP Basic)
This is the default authentication method for Advanced Identity Cloud confidential clients.
The OAuth 2.0 client authenticates by sending the credentials in an HTTP Basic authentication (Authorization
) header.
The value is client_id:client_secret
, first URL encoded,
then base64 encoded.
For example, myClient:forgerock
encodes to bXlDbGllbnQ6Zm9yZ2Vyb2Nr
:
$ curl \
--request POST \
--header "Authorization: Basic bXlDbGllbnQ6Zm9yZ2Vyb2Nr" \
...
To confirm this authentication method for a confidential OAuth 2.0 client, check the client profile in the Advanced Identity Cloud admin UI:
-
Go to Applications > Name > Sign On > General Settings > Advanced > Authentication.
-
Verify the Token Endpoint Authentication Method is
client_secret_basic
and save your work.
Make sure all connections to PingOne Advanced Identity Cloud use HTTPS to protect the secret.
URL encode the For example, a client with ID
|