Skip to content
Migrating from NextAuth.js v4? Read our migration guide.

webauthn

signIn()

signIn(provider, options, authorizationParams)

signIn(
   provider?, 
   options?, 
authorizationParams?): Promise<void>

Initiate a WebAuthn signin flow.

Parameters

ParameterType
provider?ProviderId
options?SignInOptions<true>
authorizationParams?SignInAuthorizationParams

Returns

Promise<void>

See

https://authjs.dev/getting-started/authentication/webauthn

signIn(provider, options, authorizationParams)

signIn(
   provider?, 
   options?, 
authorizationParams?): Promise<SignInResponse>

Parameters

ParameterType
provider?ProviderId
options?SignInOptions<false>
authorizationParams?SignInAuthorizationParams

Returns

Promise<SignInResponse>

Auth.js © Balázs Orbán and Team - 2024