Open in azure portal (#10535)

* initial commit to get it working

* Change configuration to use package.nls.json

* Make the necessary plumbing

* Support multi cloud

* Move the menu item to the bottom

* Fix failing tests

* Fix the tests
This commit is contained in:
Amir Omidi
2020-05-29 19:59:29 -07:00
committed by GitHub
parent b2e0291a95
commit 7d31239e64
28 changed files with 146 additions and 31 deletions

View File

@@ -118,6 +118,8 @@ interface Settings {
redirectUri?: string;
scopes?: string[]
portalEndpoint?: string
}
/**

View File

@@ -52,7 +52,8 @@ const publicAzureSettings: ProviderSettings = {
scopes: [
'openid', 'email', 'profile', 'offline_access',
'https://management.azure.com/user_impersonation',
]
],
portalEndpoint: 'https://portal.azure.com'
}
}
};
@@ -101,7 +102,8 @@ const usGovAzureSettings: ProviderSettings = {
scopes: [
'openid', 'email', 'profile', 'offline_access',
'https://management.usgovcloudapi.net/user_impersonation'
]
],
portalEndpoint: 'https://portal.azure.us'
}
}
};