-
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
Call to consent accept/reject for a second time gives error #1256
Comments
The error is handled correctly though with a 409. What problem are you facing when the error is returned? Is it that you need to check for the 409 error state explicitly? |
I see error in Hydra logs, I expect errors to be something that should be fixed in code or do Hydra app use some different approach?
|
Another problem I am facing is that when I receive the 409 error the |
Yeah that makes sense, tracking |
Actually I just checked and see the same error for |
I ran into the same/similar issue but with DIFFERENT CHALLENGE IDs. This occurs when consent I'm using an in-memory cookie jar which gets destroyed each run. Occurs over different consent challenges. |
This is because you've probably forgot to set |
Thanks, that solved it indeed! |
I'm running into an issue where when I make the login request I notice that the login_challenge is not getting set on the response. I'm thinking this may be why I always have skip set to false on the accept consent response when I log in again even though I set the remember flag to true from the consent form. I'm not sure if that is related to #1165. |
Describe the bug
When I call hydra API endpoint
PUT /oauth2/auth/requests/consent/{id]/reject
or/accept
for a second time with the same id it gives the error back:To Reproduce
Steps to reproduce the behavior:
PUT /oauth2/auth/requests/consent/{id]/reject
twiceExpected behavior
I expect that this behavior is handled correctly, I think the best approach is to validate the existing primary key in db and return same response as for the first call.
Screenshots
N/A
Version:
Additional context
N/A
The text was updated successfully, but these errors were encountered: