Skip to content

Steps for Azure AD #119

Closed
Closed
@blagerweij

Description

@blagerweij

Required changes for Azure AD:

  1. add strictDiscoveryDocumentValidation: false, to auth-config.ts (Azure uses several domain names)
  2. update issuer: issuer: 'https://login.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaStuff around the repository, ci/cd, etc.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions