OIDCClientAuthHookSettings
Before handle settings
Properties
autoRefresh
autoRefresh:
boolean
Enable automatic refresh
- If set to
true, try to refresh session using refresh token when access token is expired. - Applied to all endpoints covered by
authHook, and to theuserinfo,introspect,resource,statusandclaimsendpoints.
Default
trueDefined in
disableRedirect
disableRedirect:
boolean
Don’t redirect when not logged in.
sessionClaimsandsessionStatusare set tonull.
Default
falseDefined in
loginRedirectUrl
loginRedirectUrl:
string
URL to redirect when not logged in
Default
${pathPrefix}${loginPath}