Skip to content

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 the userinfo, introspect, resource, status and claims endpoints.

Default

true

Defined in

src/types.ts:282


disableRedirect

disableRedirect: boolean

Don’t redirect when not logged in.

  • sessionClaims and sessionStatus are set to null.

Default

false

Defined in

src/types.ts:275


loginRedirectUrl

loginRedirectUrl: string

URL to redirect when not logged in

Default

${pathPrefix}${loginPath}

Defined in

src/types.ts:269