-
Notifications
You must be signed in to change notification settings - Fork 7
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
OAuth2 Clients with the "skip consent" flag fail to execute prompt=none
flows
#317
Comments
@brandonkeymatt What happens when you go through the login screen with the I have a PR open that fixes some of the behavior for the registration flow. Right now it seems the registration flow does not accept the login request when the |
@Benehiko thanks for looking into this and pushing a PR 🙏 If you initialise the flow with
You get the following error: This is with |
Hi @brandonkeymatt, So I think there are a couple of things to consider with OAuth flows depending on the scenario you want.
So I assume you want option 1 and 4. In this case, you cannot completely skip the login/registration flow with |
I have also found the reason why users are left on the AX We do a session check in a middleware and automatically redirect the user to the See this PR ory/kratos-selfservice-ui-node#304 |
Ah nice thank you! I can see ory/kratos-selfservice-ui-node#304 has been merged, do you guy have any idea when these changes will be released to production? |
They are in production for a week now I believe. https://changelog.ory.sh/announcements/improved-oauth2-registration-flow |
Preflight checklist
Describe the bug
OIDC clients, that have "skip consent" setting enabled, fail to find a previous suitable consent, and instead silently create a new one. This does not make the consent UI pop-up, but fail prompt=none auth requests with consent_required error. Explicitly remembered consents do not have this problem.
The problem is that skip consent is only used in the UI and is not respected in the "find previous consent" logic in Ory Hydra.
Reproducing the bug
prompt=none
consent_required
errorRelevant log output
No response
Relevant configuration
No response
Version
master
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response
The text was updated successfully, but these errors were encountered: