OIDC client authentication
OIDC clients can use the authentication methods described in OAuth 2.0 client authentication. Set the authentication method in the client profile:
-
In the AM admin UI, go to Realms > realm name > Applications > OAuth 2.0 > Clients > client ID.
-
On the Advanced tab, select the method from the Token Endpoint Authentication Method list:
Method Description client_secret_basic(default)The client sends its credentials in an HTTP Basic
Authorizationheader.client_secret_postThe client sends its credentials as
client_idandclient_secretform parameters.When a client authenticates with form parameters, the server can store POST data on the user-agent in an
OAUTH_REQUEST_ATTRIBUTEScookie. AM uses the cookie to continue the authentication process across redirects. It marks the cookie for deletion on the next successful OAuth 2.0 authorization.noneThe client is public and doesn’t authenticate.
Public clients don’t authenticate even if the authentication method is different from
none.private_key_jwtThe client sends its credentials as a JSON Web Token (JWT).
self_signed_tls_client_authThe client uses a self-signed certificate for mutual TLS authentication.
tls_client_authThe client uses a CA-signed certificate for mutual TLS authentication.
-
Click Save Changes.