PKCE does not get enforced #2993
-
In my product, the I know that Hydra left untouched doesn't have this problem, so I've broken something in Hydra but I don' t know what or how. One difference I noticed is that in the quickstart Hydra setup, an entry is added to the PKCE table when the authz code is generated and returned. However in my application, nothing is added to the PKCE table. The clients are setup the same way ( Where is the code in Hydra that stores the session in the PKCE table? Where is the code that checks the code_verifier? PS: These lines look like what would be called when saving and retrieving the PKCE session. However I don't see them executed anywhere in the package so I don't know how/where the PKCE inputs get validated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The code you are looking for is most likely in fosite, e.g. here: https://github.com/ory/fosite/blob/master/handler/pkce/handler.go#L129 Good luck! |
Beta Was this translation helpful? Give feedback.
The code you are looking for is most likely in fosite, e.g. here: https://github.com/ory/fosite/blob/master/handler/pkce/handler.go#L129
Good luck!