-
Notifications
You must be signed in to change notification settings - Fork 9
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
how to disable pkce flow? #37
Comments
PKCE is required by Twitter as OAuth2 provider. You can not authenticate with disabled PKCE.
For more information see: https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code Why do you want to disable PKCE? Is there anything that I missed? |
i have app with separated frontend and backend and i try to implement twitter login. google and twitch login works ok, but there is a problem to make twitter login work, so i hoped that oauth 2 can work without pkce
i |
I suspect this issue is just another aspect of the problem you reported in #36. Twitter OAuth 2.0 requires PKCE and PKCE requires session storage ( If I'm not mistaken, I think Google OAuth flow can be implemented without reliance on session, but I think it requires explicitly disabling state. |
I try to disable pkce usage by setting option pkce: false, but when see strategy, pkce still is ictive
my code:
but twitterStrategy is, and it seems that pkce is on
The text was updated successfully, but these errors were encountered: