oAuth2

OAuth 2.0 Authorize Endpoint

Changed on

Use open source libraries to perform OAuth 2.0 and OpenID Connect available for any programming language. You can find a list of libraries at https://oauth.net/code/

This endpoint should not be used via the Ory SDK and is only included for technical reasons. Instead, use one of the libraries linked above.

get/oauth2/auth

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /oauth2/auth
  • Auth
    none declared

Response

errorOAuth2

errorstring

Error

error_debugstring

Error Debug Information

Only available in dev mode.

error_descriptionstring

Error Description

error_hintstring

Error Hint

Helps the user identify the error cause.

status_codeinteger

HTTP Status Code

Example response

{
  "error_debug": "error_debug",
  "status_code": 401,
  "error_description": "error_description",
  "error": "error",
  "error_hint": "The redirect URL is not allowed."
}

Changes

    • info

      api operation id oauthAuth removed and replaced with oAuth2Authorize

    • info

      api tag oAuth2 added

    • info

      api tag public removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      api operation id oAuth2Authorize removed and replaced with oauthAuth

    • info

      api tag public added

    • info

      api tag oAuth2 removed

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status