---
title: "Build OAuth authorize URL"
method: GET
path: "/api/v1/auth/oauth/{provider}/authorize"
tags: ["oauth-consumer"]
---

# Build OAuth authorize URL

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

## Path parameters

- `provider` string, required

## Query parameters

- `redirect_uri` string, uri, required

## Response `200`

Authorization URL + state

- OAuthAuthorizeResponse
  - `authorization_url` string, uri, required
  - `state` string, required

## Other responses

- `400` — Unsupported provider

---

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