mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 09:35:37 -05:00
New azure authentication experience (#8483)
* Changes * Work in progress * Authenticate with azure * enbable national clouds and initialization * Add support for tenants * Finish up account work * Finish up azure auth * Don't allow prompt if we're not initialized * Shut down server * Remove trailing comma * encode uri component * ignore errors * Address comments on github * Fix issues and disable feature without env var * Don't encode the nonce * Only use env variables to disable the new sign in * Show more user friendly messages to users
This commit is contained in:
@@ -188,6 +188,7 @@ export class AccountDialog extends Modal {
|
||||
const buttonSection = DOM.append(this._noaccountViewContainer, DOM.$('div.button-section'));
|
||||
this._addAccountButton = new Button(buttonSection);
|
||||
this._addAccountButton.label = localize('accountDialog.addConnection', "Add an account");
|
||||
|
||||
this._register(this._addAccountButton.onDidClick(() => {
|
||||
(<IProviderViewUiComponent>values(this._providerViewsMap)[0]).addAccountAction.run();
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user