-
-
Save anton-gorbikov/5f16f4ef4e6323cd92306033f0da0ca9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let config = { | |
auth: { | |
clientId: '{{application ID, GUID}}', | |
authority: 'https://login.microsoftonline.com/{{tenant ID}}.onmicrosoft.com', | |
redirectUri: '{{registed return URL}}', | |
navigateToLoginRequestUrl: false | |
}, | |
cache: { | |
cacheLocation: 'localStorage', | |
storeAuthStateInCookie: true | |
}, | |
system: { | |
loadFrameTimeout: {{time in milliseconds}} | |
} | |
}; | |
let context = new Msal.UserAgentApplication(config); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment