oauth-server
OAuth 2.1 Token endpoint
Issues 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
Response
Access token issued successfully
Example response
{
"token_type": "Bearer"
}