---
title: "Start OAuth authorization"
method: GET
path: "/auth/oauth/{provider}/authorize"
tags: ["OAuth Authentication"]
---

# Start OAuth authorization

`GET /auth/oauth/{provider}/authorize`

## Request

- Base URL: `https://api.volcano.dev`
- URL: `https://api.volcano.dev/auth/oauth/{provider}/authorize`
- Auth: none declared

Redirects user to OAuth provider for authorization.
Handles CSRF protection with state parameter.
Project is identified via the anon_key query parameter.

## Path parameters

- `provider` 'google' | 'github' | 'microsoft' | 'apple', required

## Query parameters

- `anon_key` string, required
- `redirect_url` string
- `client_state` string
- `response_mode` 'code'

## Other responses

- `307`: Redirect to OAuth provider
- `400`: OAuth provider is disabled for this project, or `redirect_url` is not registered in `allowed_redirect_urls`
- `404`: OAuth provider not configured

## Changes

- **2026-08-27** `bb44e98aba2e`: 2 info
  - added the new optional `query` request parameter `client_state`
  - added the new optional `query` request parameter `response_mode`

[Operation history](https://skmtc.dev/kong/apis/volcano-api/changes/auth/oauth/:provider/authorize/get.md)

---

[API](https://skmtc.dev/kong/apis/volcano-api.md) - [All operations](https://skmtc.dev/kong/apis/volcano-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/volcano-api/revisions/84c4488f91e9?raw)
