Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
 
 

Angular 13 RxJS6 MSAL Angular v2 Sample

This developer sample is used to demonstrate how to use @azure/msal-angular.

This project was generated with Angular CLI version 13.2.6.

How to run the sample

Pre-requisites

Configure the application

  • Open ./src/app/app.modules.ts in an editor.
  • Replace client id with the Application (client) ID from the portal registration, or use the currently configured lab registration.
    • Optionally, you may replace any of the other parameters, or you can remove them and use the default values.

Running the sample

  • In a command prompt, run npm start.
  • Navigate to http://localhost:4200
  • In the web page, click on the "Login" button. The app will automatically reload if you change any of the source files.

Additional notes

  • The default interaction type for the sample is redirects. The sample can be configured to use redirects by changing the interactionType in app.module.ts to InteractionType.Popup.