Skip to content

New initialize_auth_code_flow() and acquire_token_by_auth_code_flow() - #276

Merged
Ray Luo (rayluo) merged 4 commits into
devfrom
acquire_token_by_auth_code_flow
Nov 26, 2020
Merged

Ray Luo (rayluo) merged 4 commits into
devfrom
acquire_token_by_auth_code_flow

Conversation

@rayluo

@rayluo Ray Luo (rayluo) commented Nov 17, 2020

Copy link
Copy Markdown
Contributor

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.

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