/
/Nhost Authentication API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 20m ago · Updated 1mo ago
authentication26
  • postSign in anonymously
  • postSign in with email and password
  • postSign in with an ID token
  • postVerify TOTP for MFA
  • postSign in with email OTP
  • postVerify email OTP
  • postSign in with magic link email
  • postSign in with SMS OTP
  • postVerify SMS OTP
  • postSign in with Personal Access Token (PAT)
  • getSign in with an OAuth2 provider
  • getOAuth2 provider callback endpoint
  • postOAuth2 provider callback endpoint (form_post)
  • getRetrieve OAuth2 provider tokens from callback
  • postSign in with Webauthn
  • postVerify Webauthn sign-in
  • postSign up with email and password
  • postSign up with Webauthn
  • postVerify Webauthn sign-up
  • postRefresh OAuth2 provider tokens
  • postDeanonymize an anonymous user
  • getOAuth2 Authorization Endpoint
  • postOAuth2 Authorization Endpoint (POST)
  • postOAuth2 Token Endpoint
  • getGet authorization request details for consent screen
  • postComplete login/consent for an authorization request
security7
session6
system7
user8
verification1
    authentication

    Complete login/consent for an authorization request

    Called by the consent UI after user authenticates and consents. Sets the user on the auth request and redirects back to the client with an authorization code.

    post/oauth2/login

    Request body

    requestIdstring uuid required

    Response

    Authorization completed, redirect URL returned

    redirectUristring uri required

    Changes