Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Steps for Azure AD #119

Closed
blagerweij opened this issue Nov 7, 2022 · 2 comments
Closed

Steps for Azure AD #119

blagerweij opened this issue Nov 7, 2022 · 2 comments
Labels
meta Stuff around the repository, ci/cd, etc.

Comments

@blagerweij
Copy link

Required changes for Azure AD:

  1. add strictDiscoveryDocumentValidation: false, to auth-config.ts (Azure uses several domain names)
  2. update issuer: issuer: 'https://#.microsoftonline.com/{tenant-id}/v2.0',
  3. update clientId with the correct application id
  4. remove api from scope
  5. since redirect uri is set to redirectUri: window.location.origin + '/',, add a SPA redirect URI http://localhost:4200/ (without index.html)

After the above changes are made, works flawlessly. Thanks for the sample.

@jeroenheijmans
Copy link
Owner

Thanks for the addition! I'll link to your steps in the README. 😊❤️

@jeroenheijmans jeroenheijmans added the meta Stuff around the repository, ci/cd, etc. label Nov 8, 2022
@jeroenheijmans
Copy link
Owner

Added a link over here.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
meta Stuff around the repository, ci/cd, etc.
Projects
None yet
Development

No branches or pull requests

2 participants