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
,status
andclaims
endpoints.
Default
Defined in
disableRedirect
disableRedirect:
boolean
Don’t redirect when not logged in.
sessionClaims
andsessionStatus
are set tonull
.
Default
Defined in
loginRedirectUrl
loginRedirectUrl:
string
URL to redirect when not logged in
Default
${pathPrefix}${loginPath}