---
title: "Get authorization request details for consent screen"
method: GET
path: "/oauth2/login"
tags: ["authentication"]
---

# Get authorization request details for consent screen

`GET /oauth2/login`

Called by the consent UI to get details about the pending authorization request.

## Query parameters

- `request_id` string, uuid, required

## Response `200`

Authorization request details

- OAuth2LoginResponse
  - `requestId` string, uuid, required
  - `clientId` string, required
  - `scopes` string[], required
  - `redirectUri` string, required

## Other responses

- `default` — An error occurred

---

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