1
OAuth server: an existing grant auto-approves and returns no client details, leaving no room for an account-confirmation step
Source: supabase/supabase#48385 · opened by @scarletkc
Summary GoTrue's OAuth server does not honour the standard OIDC prompt parameter (OIDC Core 1.0 §3.1.2.1). As a consequence, when the signed-in user already has a grant covering the requested scopes, GET /oauth/authorizations/{authorization_id} does two things at once: 1. it issues the authorization code and returns { "redirect_url": "...?code=..." }, and 2. it omits everything a consent UI would need to render — no client, no user, no scope. Because both happen inside a single unparameterised GET, a custom authorization UI configured for GoTrue's OAuth server cannot present the "you are signed in as X, continue?" step that Google, Microsoft and Okta show on a repeat authorization. There is no point at which the code has not yet been issued *and* the client is still known. Current behaviour First authorization (no grant yet) — full details: Repeat authorization (grant exists, same scopes) — a destination only: …
No pledges yet. Be the first to back this.
Comments
Similar requests
Include resource field in OAuth authorization details response
1 vote · 0 comments
Support OAuth Admin revoke user grant
1 vote · 0 comments
Supabase cli to accept oauth tokens
2 votes · 0 comments
Support `client_credentials` grant with the OAuth 2.1 Server
4 votes · 0 comments
Ephemeral branches need a stable OAuth callback URL
2 votes · 0 comments
No comments yet.