Skip to content

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

@Colin-b

Description

@Colin-b

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions