consent_required
Docs version v1 (main)Nauthera is pre-1.0, in a design-partner program
The request forbade interaction and the user has not consented to it (OpenID Connect Core 1.0 §3.1.2.6).
Meaning
Sent by /authorize, redirected to the client, when the request carries prompt=none,
the user is signed in, and no stored approval covers the client, scopes and resource it
asks for. Clients registered by an administrator count as approved; dynamically
registered clients and public clients with a non-https redirect URI need the user's
approval.
Impact
Normal protocol flow for a silent request: nobody is stuck, but the application has to show the consent screen once with an interactive request. A public client with a loopback redirect is asked every time, so its silent requests always end this way.
Diagnosis
- The audit record under
oauth.has reasonauthorization. requested consent_requiredand causeconsent_not_granted. - Compare the requested scopes and
resourcewith what the user approved earlier (oauth.consent.decidedrecords). See Consent.
Mitigation
- As a client developer: on
consent_required, send the user through/authorizewithoutprompt=none. Do not ask for more scopes in silent requests than the user approved. - As an operator: register first-party applications through the operator or the AdminService, which counts as administrative consent.
- As a user: approve the request when the application shows the consent screen.
Escalation
If a request covered by a stored approval is refused, open an issue with the request id, the server version and the scopes requested.
OAuth error runbooks · Generated from internal/ in nauthera-server.