---
title: "OAuth 2.0 Authorize Endpoint"
method: GET
path: "/oauth2/auth"
tags: ["oAuth2"]
---

# OAuth 2.0 Authorize Endpoint

`GET /oauth2/auth`

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/

The Ory SDK is not yet able to this endpoint properly.

## Response `default`

errorOAuth2

- ErrorOAuth2 — Error
  - `error` string — Error
  - `error_debug` string — Error Debug Information Only available in dev mode.
  - `error_description` string — Error Description
  - `error_hint` string — Error Hint Helps the user identify the error cause.
  - `status_code` integer — HTTP Status Code

## Other responses

- `302` — Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201.

## Changes

- **2022-10-27** `4505403da8d7` — 5 info
  - api operation id `oauthAuth` removed and replaced with `oAuth2Authorize`
  - api tag `oAuth2` added
  - api tag `public` removed
  - removed the non-success response with the status `401`
  - …1 more
- **2022-02-16** `82d233540486` — 5 info
  - api operation id `oAuth2Authorize` removed and replaced with `oauthAuth`
  - api tag `public` added
  - api tag `oAuth2` removed
  - added the non-success response with the status `401`
  - …1 more

[Change history](https://skmtc.dev/ory/apis/ory-hydra-api/changes/oauth2/auth/get.md)

---

[API](https://skmtc.dev/ory/apis/ory-hydra-api.md) · [All operations](https://skmtc.dev/ory/apis/ory-hydra-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ory/ory-hydra-api/revisions/4505403da8d7/schema)
