Start an OAuth authorization code flow by redirecting the user to this endpoint.
Compared to a standard OAuth Authorization endpoint, this endpoint accepts several (optional) query parameters to allow for passwordless login, requesting specific locales and asking the user to patch access rules.
This endpoint is rate limited. The following are allowed:
Redirect URI
After you have called this endpoint, eventually, the user will be redirected to a URI that you have specified.
This URI will look as follows:
- In case of a successful procedure:
https://example-app.com/redirect?code=AUTH_CODE_HERE&state=1234zyx - In case of an error:
https://example-app.com/redirect?error=ERROR_CODE_HERE&error_description=URL_ENCODED_ERROR_DESCRIPTION_HERE.
400Bad Request
Possible error codes:
client_id_missing
client_id_no_url
client_id_not_found
client_id_does_not_resolve_to_profile document
client_id_doc_redirect_uri_does_not_match
500Something went wrong on our end
501This functionality will be implemented in the future