---
title: "Oauth Authorize"
method: GET
path: "/oauth/authorize"
tags: ["oauth"]
---

# Oauth Authorize

`GET /oauth/authorize`

## Request

- Base URL: `https://api.xeorank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xeorank.com/oauth/authorize`
- Auth: none declared

Validate OAuth params, store in signed cookie, show sign-in chooser.

The user picks Google OR email+OTP — both resolve to the same account by
email, so users who signed up with an email code (no Google) can connect too.

## Query parameters

- `response_type` string, required
- `client_id` string, required
- `redirect_uri` string, required
- `code_challenge` string, required
- `code_challenge_method` string
- `state` string, required
- `scope` string
- `resource` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xeorank/apis/seo-intelligence-engine.md) · [All operations](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/xeorank/apis/seo-intelligence-engine/revisions/449a3fd73454?raw)
