Login
OAuth2 token endpoint.
Args: request: The request object. response: The response object. auth_form_data: The OAuth 2.0 authentication form data.
Returns: An access token or a redirect response.
Raises: ValueError: If the grant type is invalid.
Body
grant_typeany ofOptional
stringOptional
nullOptional
usernameany ofOptional
stringOptional
nullOptional
passwordany ofOptional
stringOptional
nullOptional
client_idany ofOptional
stringOptional
nullOptional
device_codeany ofOptional
stringOptional
nullOptional
Responses
200
Successful Response
application/json
Responseany of
or
401
Unauthorized
application/json
422
Validation Error
application/json
post
/api/v1/loginLast updated
Was this helpful?