Msalb2c
This project was generated with Angular CLI version 10.1.6.
Development server
Run ng serve
in the sample-project folder for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Code scaffolding
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Build
First run npm install
in the root folder AND in the sample-project folder. Then run ng build sample
to build the sample project.
The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
First steps
Add "https://your.domain/msalb2credirect" as redirect URI to your B2C-Application. To run the sample locally, you have to add "http://localhost:4200/msalb2credirect", for example. The adjust the files config.service.ts
and apicall.component.ts
to reflect your environment.
Please have a closer look to app.module.ts
, app-routing.module.ts
and app.component.ts
to learn how to use the library.