Skip to content

New initialize_auth_code_flow() and acquire_token_by_auth_code_flow() #276

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

Merged
merged 4 commits into from
Nov 26, 2020

Conversation

rayluo
Copy link
Collaborator

@rayluo rayluo commented Nov 17, 2020

This PR implements the recent new API proposal (its internal link here). It will become the foundation of the upcoming Interactive flow feature.

The new API initiate_auth_code_flow() and acquire_token_by_auth_code_flow() also provide PKCE support automatically, without needing the app developer to provide any PKCE-relevant parameters, so that different app developers would not hit this issue any more. This PR will close #255.

Inline-documentation and end-to-end test cases are included. Docs will soon be available at https://msal-python.readthedocs.io/en/latest/

I'll also provide a corresponding PR in our web app sample repo, to demonstrate how to use this feature.

@rayluo rayluo force-pushed the acquire_token_by_auth_code_flow branch 4 times, most recently from 43f8782 to 9586af0 Compare November 23, 2020 11:09
@rayluo rayluo force-pushed the acquire_token_by_auth_code_flow branch from 9586af0 to 06c2b65 Compare November 25, 2020 01:15
@rayluo rayluo merged commit 6613fd0 into dev Nov 26, 2020
@rayluo rayluo deleted the acquire_token_by_auth_code_flow branch November 26, 2020 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

PKCE Support
2 participants