Customize claims with the OpenID Connect 1.0 claims script
The OIDC Claims
script is part of the user info claims plugin, one of the OAuth 2.0 plugin
extension points provided by AM. Use this extension point when issuing an ID token or
during a request to the /userinfo
OpenID Connect endpoint.
To configure a different script of the type OIDC Claims
,
go to Realms > Realm Name > Services > OAuth 2.0 Provider > Plugins,
and select it in the OIDC Claims Script drop-down menu.
Alternatively, to configure a different script as the default for all new OAuth2 providers, update the setting in Configure > Global Services > OAuth2 Provider > Plugins.
To examine the contents of the default OIDC claims script and to view the available script properties, go to Realms > Realm Name > Scripts, and select the OIDC Claims Script.
For information about how to configure OAuth 2.0 plugins, see Customize OAuth 2.0. For details about the user info claims plugin, see OIDC user info claims. |