Interface LoginOptions

Options for constructing the login flow.

See

startLogin

Hierarchy

  • LoginOptions

Properties

appId?: string

appId inferred from settings

authMethod?: AuthMethod

Pre-select a login method. Defaults to asking the user.

callbackUrl?: string | URL

Override the callbackUrl. Needs to be whitelisted in the dashboard.

client?: "Web"

Client (must be 'Web')

code?: string

Signup-code for user classes that require a code to sign up. If not set, the user may be prompted to enter a signup code.

mode?: "login" | "register"

Pre-select a mode. Defaults to automatic detection.

userClass?: string

Which user class to add when logging in.

Generated using TypeDoc