...
registration of the application at the OAuth2 Authorization Server
configuration of these parameters in the Application wide settings :
...
webapp.security.auth.type=oauth2
...
webapp.security.auth.oauth2.authenticationEndpointUrl=<OAuth2
...
endpoint
...
URL>
...
webapp.security.auth.oauth2.clientId=<OAuth2
...
client
...
id>
...
webapp.security.auth.oauth2.redirectUrl=<local
...
URL
...
to
...
/info/login-callback>