Skip to Content

@authgear/nextjs


@authgear/nextjs / index / PromptOption

Enumeration: PromptOption

Defined in: src/types.ts:43 

OIDC prompt parameter values. Pass to signIn({ prompt }) or SignInButton signInOptions={{ prompt }} to control whether Authgear shows the login form for a specific authentication call.

See

https://docs.authgear.com/authentication-and-access/single-sign-on/force-authgear-to-show-login-page 

Enumeration Members

Login

Login: "login"

Defined in: src/types.ts:45 

Always show the login form, even if the user has an active Authgear session.


None

None: "none"

Defined in: src/types.ts:47 

Never show the login form; return an error if the user is not already authenticated.

Last updated on