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

Can you please add the ability to retrieve and provide the code verifier #550

Open
Colin-b opened this issue Jul 4, 2024 · 1 comment
Open

Comments

@Colin-b
Copy link

Colin-b commented Jul 4, 2024

Right now, the auth code PKCE flow is using a code verifier generated when creating the authorization url.

This is fine, however I want to be able to use another OAuth2Session instance when requesting the token.
To do so, I need to be able to get the code verifier that was generated, and provide it as a parameter to the fetch_token.

I can manage for now by accessing the private _code_verifier attribute, but I would like to rely on an interface that is not supposed to change without a new major release.

Thanks again

@Xavierhahaha
Copy link

I also meet this same situation.
In webapplication flow seems use another OAuth2Session instance when requesting the token is required.
Hope code verifier can provided it as a parameter to the fetch_token.

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