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

Enable multiple provders #17834

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Enable multiple provders #17834

wants to merge 16 commits into from

Conversation

cssuh
Copy link
Member

@cssuh cssuh commented Nov 1, 2023

Adds the China Cloud & US Gov cloud as options for users to authenticate to.

@cssuh cssuh marked this pull request as draft November 1, 2023 16:46
@cssuh cssuh marked this pull request as ready for review November 8, 2023 22:01
@cssuh cssuh changed the title [DRAFT] Enable multiple provders Enable multiple provders Nov 8, 2023
localization/xliff/enu/localizedPackage.json.enu.xlf Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.nls.json Outdated Show resolved Hide resolved
src/azure/accountService.ts Outdated Show resolved Hide resolved
src/azure/accountService.ts Outdated Show resolved Hide resolved
src/azure/iterator.ts Outdated Show resolved Hide resolved
src/azure/iterator.ts Outdated Show resolved Hide resolved
this.vscodeWrapper = vscodeWrapper;
this.logger = logger;

vscode.workspace.onDidChangeConfiguration((changeEvent) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this class would be needed.. since we only have MSAL now, what is the purpose of moving code here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean azureAccountProvider? I created it to handle the mappings of different auth providers such as public cloud, china cloud, gov cloud

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a chat with Cheena offline, will be refactoring this to be inside msalAzureController

src/azure/msal/msalAzureAuth.ts Outdated Show resolved Hide resolved
src/azure/msal/msalAzureController.ts Outdated Show resolved Hide resolved
cssuh and others added 7 commits November 9, 2023 14:17
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
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.

None yet

2 participants