This template is based on the official MSAL JavaSscript template: msal-angular
- npm install json-server
- json-server --watch db.json
You have to get the ClientId and TenantId from the App Registration page and update this file:
Angular17-Standalone/src/environments/environment.dev.tsAngular17-Standalone/src/environments/environment.dev.ts
msalConfig: {
auth: {
clientId: <client-id>,
authority: 'https://login.microsoftonline.com/<tenant-id>'
}
}
If you don't know where to get the clientId and TenantId, you can watch my YouTube video: How to use the Microsoft Identity Platform with Angular Application
- npm install
- ng start
I have already used this test project for my AZD template, which you can get it here