Skip to content

OAuth client should support bi-phasic oauth flows #1368

Closed as not planned
Closed as not planned

Description

@vitorbal

Description

The OAuthClientProvider interfaces should look more like the Typescript SDK's provider instead, which is less opinionated about how the code verifier and redirect uri are consumed and subsequently exchanged into a token.

Currently, the Python SDK's version makes assumptions about the end-to-end flow that prevent usage in scenarios where e.g. I want to store the verifier/uri in the DB and run the callback "out-of-band".

References

Activity

  1. maxisbey commented on Jul 24, 2026

    @maxisbey
    Contributor

    Thanks for the report. Tracking this in #1743 instead. Closing this as part of a wider backlog cleanup around the v2 release. If it's still relevant, feel free to reopen.

    AI Disclaimer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authIssues and PRs related to Authentication / OAuthenhancementRequest for a new feature that's not currently supported

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions