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

[Question]: Authentication without PKCE - invalid query parameters #2077

Open
andrush001 opened this issue Mar 3, 2025 · 0 comments
Open
Labels

Comments

@andrush001
Copy link

What Version of the library are you using?
19.0.0

Question
If I configure disablePkce to true I end up un URL: .../oauth2/authorize?client_id=...&redirect_uri=http%3A%2F%2Flocalhost%3A4200&response_type=code&scope=openid&nonce=c7e0cc46747e9bf7a3e9b44379607aa016BwynIwC&state=3293035c5b0573db792bf437922be409f5lwlwI9g&code_challenge=&code_challenge_method=S256&external=true

My authentication server throws error that code_challenge parameter is invalid. It is indeed invalid, it is empty. I think code_challenge and code_challenge_method parameter should not be part of the authorization request in case I want to authenticate without PKCE. Am I right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant