oauth-server
OAuth 2.1 Authorization endpoint
Changed onInitiates the OAuth authorization code flow. Redirects users to login and authorize the requesting application. Only available when OAuth server is enabled (set GOTRUE_OAUTH_SERVER_ENABLED=true for self-hosted or enable in Supabase Dashboard).
get/oauth/authorize
Request
- Base URLhttps://abcdefghijklmnopqrst.supabase.co/auth/v1
- URLhttps://abcdefghijklmnopqrst.supabase.co/auth/v1/oauth/authorize
- Authnone declared
Query parameters
response_type'code' required
client_idstring required
The client identifier
redirect_uristring uri required
Client's redirect URI
scopestring
Requested access scope
statestring
State parameter for CSRF protection
code_challengestring required
PKCE code challenge
code_challenge_method'S256' required
PKCE code challenge method
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking