-
Notifications
You must be signed in to change notification settings - Fork 2
Allow to use PKCE #23
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing!
Are you willing to work on this more or is this more of a pointer to what's missing and how to implement it?
I have not tested this PR in depth but the added functionality is definitely a good thing to have.
A few things though:
- I have marked two sections of code with some minor details. Please address those.
- I would very much like to document this a bit better. This could be as an example in the documentations Usage Section or as part of the docstrings.
- In your PR description you use
pkce.generate_pkce_pair()
. Even though generating pkce pairs is not very complex, I would like to provide that functionality as part of this library. So if you've implemented that part already, please commit thepkce.py
file.
Proof Key for Code Exchange Defined by RFC7636 https://www.rfc-editor.org/rfc/rfc7636
Thanks for the review, updated :-) |
I'm not really a fan of micro-packages so I would prefer copying the relevant PKCE code over into our source tree |
@ftsell done :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Especially for mentioning where the pkce code was taken from.
I'd eventually like to also add tests and convert the pkce docstrings to our format but for now we can merge this PR if you want
Proof Key for Code Exchange
Defined by RFC7636
https://www.rfc-editor.org/rfc/rfc7636
To be use as: