Skip to content

Conversation

@molcay
Copy link
Contributor

@molcay molcay commented Mar 5, 2024

Hi,

I was trying to implement Authentication in my felt app with my web application which uses the django-oauth-toolkit for OAuth 2.0. I tried setting up the OAuth application with Authorization flow.
As you can see in the django-oauth-toolkit documentation, it needs the following extra parameters:

  • code_challenge
  • code_challenge_method
  • code_verifier

The underlying oauthlib.oauth2 already has these parameters in the following methods:

  • prepare_request_uri method has code_challenge and code_challenge_method
  • prepare_request_body method has code_verifier

With this PR, now we pass these values to the underlying library to use the Authorization flow.

@CLAassistant
Copy link

CLAassistant commented Mar 5, 2024

CLA assistant check
All committers have signed the CLA.

@FeodorFitsner FeodorFitsner merged commit a777b41 into flet-dev:main Mar 6, 2024
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

Successfully merging this pull request may close these issues.

3 participants