onAuthenticated

Sets the handler called after a successful OAuth/OIDC login.

The callback receives the verified OidcToken.Id. With sessions enabled, it runs after the session is stored. Without sessions, it runs after verification and is required, so token material is not discarded.

Report a problem

Parameters

block

handler invoked with the verified ID-token bundle.