ADAL for getting ARM token
Get Started
npm install @fuselab/ui-adal
or
lerna add @fuselab/ui-adal
Provision app in Azure active directory
-
Login to https://portal.azure.com
-
Go to "Azure Active Directory", select "app registrations", click on "New application registration"
-
Create a new native app registration
for RedirectUri fill in your dev-server localhost address (you will add redirect uris for your other environment later)
-
Add additional RedirectUri for different environments
-
Request access to ARM API
and set scope to delegated
-
Verify/update app manifest
- make sure that oauth2AllowImplicitFlow is set to true
- make sure that resourceId 797f4846-ba00-4fd7-ba43-dac1f8f63013 (for ARM) is present