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
When writing a client that interacts with Hydra, I accidentally made 2 requests to exchange my authorization code for a refresh/access/id token instead of just one. One of the requests (not always the second -- I suspect this has something to do with database racing or something?) will 500 while the other will happily return the correct info.
When writing a client that interacts with Hydra, I accidentally made 2 requests to exchange my authorization code for a refresh/access/id token instead of just one. One of the requests (not always the second -- I suspect this has something to do with database racing or something?) will 500 while the other will happily return the correct info.
The exception is here:
Logs from around the event:
This took a while to debug, but once I saw the duplicate requests, I knew that's what it had to be.
I guess this should be a 400 indicating that the authorization code has already been redeemed?
The text was updated successfully, but these errors were encountered: