OAuth
OAuth 2.1 authorization endpoint (GET)
Initiate OAuth 2.1 authorization flow. Redirects to login if not authenticated, then to the redirect_uri with authorization code.
get/api/oauth/authorize
Request
- Base URL: https://intentdocs.com
- URL: https://intentdocs.com/api/oauth/authorize
- Auth: none declared
Query parameters
client_idstring required
The OAuth client ID
redirect_uristring
Where to redirect after authorization. Must be registered with client.
response_type'code' required
Must be 'code' for authorization code flow
code_challengestring required
PKCE code challenge (required for S256)
code_challenge_method'S256' required
PKCE method — only S256 is supported
statestring
Opaque state value to prevent CSRF
scopestring
Requested scopes (space-separated)
Changes
No recorded changes to this operation across all 1 revision of this API.