oauth

OAuth 2.0 authorization endpoint

Begin the authorization code flow. PKCE (S256) is required. The user signs in with their Aircover account (Google, Microsoft, or enterprise OIDC SSO) and consents to the requested scopes, then is redirected to redirect_uri with an authorization code.

get/oauth/authorize

Request

  • Base URL: https://api.aircover.ai
  • URL: https://api.aircover.ai/oauth/authorize
  • Auth: none required

Query parameters

response_type'code' required

Must be 'code'.

client_idstring required

Client identifier from dynamic client registration.

redirect_uristring uri required

Registered redirect URI.

scopestring
Example:mcp

Space-separated scopes. See the 'oauth2' security scheme for available scopes.

statestring

Opaque value echoed back on redirect for CSRF protection.

code_challengestring required

PKCE code challenge.

code_challenge_method'S256' required

PKCE challenge method; only S256 is supported.

Changes

No recorded changes to this operation across all 1 revision of this API.