Closed
Description
Required changes for Azure AD:
- add
strictDiscoveryDocumentValidation: false,
to auth-config.ts (Azure uses several domain names) - update issuer:
issuer: 'https://login.microsoftonline.com/{tenant-id}/v2.0',
- update clientId with the correct application id
- remove
api
from scope - since redirect uri is set to
redirectUri: window.location.origin + '/',
, add a SPA redirect URIhttp://localhost:4200/
(without index.html)
After the above changes are made, works flawlessly. Thanks for the sample.