Sign in

Type: SignInProps

Props for the <SignIn /> component.

Extends

  • Omit<SignInOptions, "signUp">.ButtonHTMLAttributes<HTMLButtonElement>

Properties

PropertyTypeDescription
acrValues?string[]Authentication Context Class Reference (ACR) values requesting specific authentication assurance levels or methods.
appState?ApplicationStateCustom application state preserved across the authentication round-trip. The value is provided to the OnSessionCreating hook when the session is constructed.
audience?stringIdentifies the target API (audience) that the issued access token is intended for.
authenticatorHint?AuthenticatorsSpecifies the preferred authenticator or identity provider to use for sign-in.
childrenReactNodeContent rendered inside the button.
display?DisplayOptionsPreferred display mode for the authentication UI.
idTokenHint?stringA previously issued ID token sent as the id_token_hint. Commonly used alongside prompt: 'none' for silent re-authentication.
loginHint?stringHint identifying the user (for example, an email or username). Used to pre-fill or optimize the sign-in experience. Example "user@example.com"
maxAge?numberMaximum allowed time (in seconds) since the user's last authentication. Used to force re-authentication if the time since the last sign-in exceeds this value.
mode?InteractionModeDetermines the interaction mode for the sign-in flow.
prompt?PromptSpecifies the desired authentication interaction behavior.
resource?stringSpace-separated resources the access token should be scoped to for this specific sign-in. Merged with defaultAuthParams.resource and any indicator resources configured on the client.
returnUrl?stringRelative URL to navigate to after sign-in completes.
scopes?stringSpace-separated scopes requested from the authorization server for this specific sign-in. Merged with defaultAuthParams.scopes and any indicator scopes configured on the client.
uiLocales?stringPreferred locale(s) for the sign-in UI. Example "en-US"
© 2024 MonoCloud. All rights reserved.