---
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/

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.

## 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 204.

---

[API](https://skmtc.net/ory/apis/ory-hydra.md) · [All operations](https://skmtc.net/ory/apis/ory-hydra/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ory/ory-hydra/versions/a302a90a0e8a/schema)
