Skip to content
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

feature: Add support for MSA authentication #5909

Merged
merged 22 commits into from
Mar 1, 2021
Merged

feature: Add support for MSA authentication #5909

merged 22 commits into from
Mar 1, 2021

Conversation

tonyanziano
Copy link
Contributor

@tonyanziano tonyanziano commented Feb 23, 2021

Description

This PR adds support for MSA / personal Microsoft account authentication with the OneAuth library. It also enables Composer and any Composer extensions to log the user in to retrieve an ARM token.

Adds new APIs for getting a list of Azure tenants for a user, and getting an ARM token for the selected tenant.

Task Item

#minor

Helps fix issue #5393, but work will need to be done inside the publishing extensions to leverage this feature.

@coveralls
Copy link

coveralls commented Feb 23, 2021

Coverage Status

Coverage decreased (-0.03%) to 53.934% when pulling 270e124 on toanzian/msa into 97132d9 on main.

@boydc2014
Copy link
Contributor

@zidaneymar @VanyLaw can you help take a look at this one?

@boydc2014 boydc2014 merged commit afaf5d9 into main Mar 1, 2021
@boydc2014 boydc2014 deleted the toanzian/msa branch March 1, 2021 04:01
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* Implemented server-side endpoints for ARM auth

* Removed old debug code

* Exposed getTenants and getARMTokenForTenant to extensions

* Added CSRF protection to ARM routes

* Added extra logging to ARM flow

* Fixed tests

* Added try-catch blocks and better logging

* Added tests

Co-authored-by: Dong Lei <donglei@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants