POST /api/user/login

User login with the mail and password parameters then get the access_token and id_token.

Request Body

The request body must be in application/json format.

FieldTypeRequiredDescriptionConstraints
emailstringYesEmail
passwordstringYesPassword

Request Example

{
  "email": "user@example.com",
  "password": "string"
}

Responses

  • 200: Successful Response
null
  • 422: Validation Error
{
  "detail": [
    {
      "loc": [
        "string"
        ],
        "msg": "string",
        "type": "string"
    }
  ]
}

GET /api/user/me

Get the user’s information with id_token.

Authorization

🔒OAuth2: OAuth2PasswordBearer
Flow type: password
Token URL: token

Responses

  • 200: Successful Response
null