Skip to content

Instantly share code, notes, and snippets.

@anton-gorbikov
Last active Jul 1, 2019
Embed
What would you like to do?
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