-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Silent token refresh fails with "The Authorization Server requires End-User consent" #1068
Comments
This is most likely a bug in your login & consent logic or your auth flow. Maybe you're requesting other permissions or forgot to properly accept the consent part. Silent refresh is supported and tested and certified by the OpenID Foundation. |
@pvsr Did you figure this out? I'm having the same issue. Request:
Hydra error:
|
My client config:
|
I was experiencing the same problem.
|
Do you want to request a feature or report a bug?
Bug, I believe.
What is the current behavior?
I'm trying to set up silent refresh using Hydra, hydra-login-consent-node, and oidc-client-js's sample vanilla js app. I log in and allow access, checking "remember me" for both. At this point if I try to get a new token, I am able to skip both login and consent. However, if I try to use prompt=none, the login part succeeds, but instead of the auth endpoint redirecting to the consent page, I get redirected back to the app with an error: "The Authorization Server requires End-User consent" and "OAuth 2.0 Client is marked public and requires end-user consent but "prompt=none" was requested".
What is the expected behavior?
If consent is already remembered, I would expect to be able to proceed through the process and get a new token. The spec says "[consent_required] MAY be returned when the prompt parameter value in the Authentication Request is
none
, but the Authentication Request cannot be completed without displaying a user interface for End-User consent". But in this case, the consent challenge would return{"skip": true}
, so I don't think there's any need to display a user interface.Which version of the software is affected?
Beta 9.
The text was updated successfully, but these errors were encountered: