authentication

Sign in with Webauthn

Changed on

Initiate a Webauthn sign-in process by sending a challenge to the user's device. The user must have previously registered a Webauthn credential.

post/signin/webauthn

Request

  • Base URL
    https://{subdomain}.auth.{region}.nhost.run/v1
  • URL
    https://{subdomain}.auth.{region}.nhost.run/v1/signin/webauthn
  • Auth
    none declared

Request body

emailstring email

A valid email

Example request

{
  "email": "john.smith@nhost.io"
}

Response

Challenge sent

challengestring byte required

Base64url-encoded binary data

timeoutinteger

A time, in milliseconds, that the caller is willing to wait for the call to complete

rpIdstring

The RP ID the credential should be scoped to

userVerification'required' | 'preferred' | 'discouraged'

A requirement for user verification for the operation

hintsPublicKeyCredentialHints[]

Hints to help guide the user through the experience

extensionsAuthenticationExtensions

Additional parameters requesting additional processing by the client and authenticator

Changes

    • warning

      added the new otp-too-many-attempts enum value to the response property for the response status

    • warning

      added the new user-already-exists enum value to the response property for the response status

    • info

      removed the email-already-in-use enum value from the response property for the response status