oauth-server
OAuth 2.1 Token endpoint
Changed onIssues access tokens in exchange for authorization codes or refresh tokens. Supports authorization_code and refresh_token grant types. Only available when OAuth server is enabled (set GOTRUE_OAUTH_SERVER_ENABLED=true for self-hosted or enable in Supabase Dashboard).
post/oauth/token
Request
- Base URLhttps://abcdefghijklmnopqrst.supabase.co/auth/v1
- URLhttps://abcdefghijklmnopqrst.supabase.co/auth/v1/oauth/token
- Authnone declared
Request body application/x-www-form-urlencoded
Response
Access token issued successfully
Example response
{
"token_type": "Bearer"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking