oAuth2

OAuth 2.0 Authorize Endpoint

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

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_hint": "The redirect URL is not allowed.",
  "status_code": 401
}

Changes

Changed in 2 of the 51 revisions of this API.6

    • api operation id performOAuth2AuthorizationFlow removed and replaced with oAuth2Authorize

      api-operation-id-removed

    • api tag oAuth2 added

      api-tag-added

    • api tag v0alpha2 removed

      api-tag-removed

    • api operation id oAuth2Authorize removed and replaced with performOAuth2AuthorizationFlow

      api-operation-id-removed

    • api tag v0alpha2 added

      api-tag-added

    • api tag oAuth2 removed

      api-tag-removed