Skip to content
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

Code Verifier And Code Challenge #710

Closed
noldoreldar opened this issue Nov 20, 2023 · 1 comment
Closed

Code Verifier And Code Challenge #710

noldoreldar opened this issue Nov 20, 2023 · 1 comment

Comments

@noldoreldar
Copy link

noldoreldar commented Nov 20, 2023

Our OpenId Identity Provider (which is IdentiyServer4) only accepts "Code Verifier" method with S256.

Login Redirect Template is like this:

https://idsrvr.example.com/account/login?returnUrl=%2Fconnect%2Fauthorize%2Fcallback%3Fclient_id%3Dclientapp-openId%26redirect_uri%3Dhttps%253A%252F%252Fclientapp.example.com%252Flogin%26response_type%3Dcode%26code_challenge%3DvdP***************4fg%26code_challenge_method%3DS256%26scope%3Dopenid%2520profile%2520email%2520clientapp.login%26state%3D9h*******zc3A
Is there any way I can modify the configuration to use Code Challenge method instead of "state" and "nonce" ??

EDIT: Seems like what I described is called "PKCE Flow".
-- So this is the duplicate of same issue already mentioned here: #344

@nc-fkl
Copy link
Contributor

nc-fkl commented Nov 24, 2023

Fixed and closed by merge of #697

@nc-fkl nc-fkl closed this as completed Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants