# Start OAuth authorization with PKCE

```http
GET /oauth/authorize
```

Start OAuth authorization.

## Parameters

| Name                    | In    | Required | Description |
| ----------------------- | ----- | -------- | ----------- |
| `response_type`         | query | Yes      |             |
| `client_id`             | query | Yes      |             |
| `redirect_uri`          | query | Yes      |             |
| `code_challenge`        | query | Yes      |             |
| `code_challenge_method` | query | Yes      |             |
| `resource`              | query |          |             |
| `scope`                 | query |          |             |
| `state`                 | query |          |             |

## Responses

| Status | Description                                                                                          |
| ------ | ---------------------------------------------------------------------------------------------------- |
| 302    | Continue to Veryfront consent, or return an OAuth error to the validated callback with state and iss |
| 400    | Unknown client or unregistered redirect URI; never redirected                                        |
| 500    | OAuth service unavailable                                                                            |
