authentication

Complete login/consent for an authorization request

Changed on

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

  • Base URL
    https://{subdomain}.auth.{region}.nhost.run/v1
  • URL
    https://{subdomain}.auth.{region}.nhost.run/v1/oauth2/login
  • Auth
    HTTP bearer

Request body

requestIdstring uuid required

Response

Authorization completed, redirect URL returned

redirectUristring uri required

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