Skip to main content

CompleteLogin verifies credentials and accepts Hydra login.

POST 

/api/v1/auth/oauth/login

Parameters

  • login_challenge: Required, from InitiateLogin
  • email: Required, user email
  • password: Required, user password
  • remember: Whether to remember the session
  • totp_code: Optional, TOTP code if MFA enabled

Response

  • redirect_to: Redirect URL if login complete
  • mfa_required: If true, call VerifyMFA next
  • mfa_method: "totp", "otp", or "both"

Errors

  • UNAUTHENTICATED: Invalid credentials

Request

Responses

A successful response.