How to use @azure/msal-browser - 1 common examples

To help you get started, we’ve selected a few @azure/msal-browser examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github benc-uk / dapr-store / web / frontend / src / services / auth.js View on Github external
cacheLocation: 'localStorage'
      // Only uncomment when you *really* need to debug what is going on in MSAL
      /* system: {
        logger: new msal.Logger(
          (logLevel, msg) => { console.log(msg) },
            level: msal.LogLevel.Verbose
      } */
    console.log('### Azure AD sign-in: enabled\n', config)

    // Create our shared/static MSAL app object
    msalApp = new msal.PublicClientApplication(config)


Microsoft Authentication Library for js

Latest version published 11 days ago

Package Health Score

95 / 100
Full package analysis

Popular @azure/msal-browser functions