Skip to main content

final class atoti.security.oidc_security.OidcSecurity

Manage OIDC security on the session.
This requires atoti.SecurityConfig.sso to be an instance of OidcConfig.

Example

Roles from the authentication provider’s ID Token can be mapped to roles in the session:
Default roles can be given to users who have been granted no individual and mapped roles:
Note that the name claim is required in the access token to identify the user for any client application.