You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OAuth Server: supported re-consent flow without revoking an existing grant #2931
We use Supabase as an OAuth 2.1 authorization server and auth-js 2.112.3 for the consent page. Our resource server also records a per-client Project/operation ceiling, chosen explicitly by the signed-in user.
For a new request from an already-consented client, getAuthorizationDetails(authorizationId) can auto-approve and return only redirect_url. That response has no client ID or request details, so our consent page cannot identify the client or safely offer a change to the resource-server ceiling. We do not follow an unidentified redirect, infer the client from local grants, reuse the authorization code, or revoke existing grants as a recovery shortcut.
Is there a supported way for the OAuth client to request fresh, interactive consent for the same client while preserving its existing grant? Alternatively, is there a supported way to retrieve the authenticated request's verified client and scope before auto-approval? We found no force-consent option on getAuthorizationDetails in this SDK and no prompt parameter in the current OAuth Server authorization handler. Please clarify the supported flow and the minimum server/SDK versions, or confirm that preserving the existing grant is not currently supported for this use case.
Activity