Authentication

Authenticates with google (Roles: user, none)

Changed on
post/auth/google

Request

  • Base URL
    https://api.ludo.ai/api
  • Auth
    API key in header Authorization

Query parameters

registerboolean

Request body

valuestring
value2string

Response

Success

tokenstring
registeredboolean
magic_link_sentboolean
magic_link_messagestring
two_factor_requiredboolean

Credentials were accepted but the account has 2FA enabled, so no token is issued. Exchange the challenge_ticket for a full payload via /auth/2fa/verify.

challenge_ticketstring

Single-use, short-lived ticket identifying the pending 2FA challenge.

two_factor_methodsstring[]

Second factors the user can present for this challenge.

Changes