title: How to implement SAML based authentication for an Angular 7.x application with Azure AD being the Identity provider?
body: <p>I'm building an Angular 7.x application where the identity provider will be Azure AD and have to authenticate the users using SAML. I haven't been able to figure out a solution/ example of such implementation yet. I need the users employee id and job title but have been asked not to use the graph api. Can someone help me with it?</p>
  
  <pre><code>MsAdalAngular6Module.forRoot({
        tenant: 'XXXX-XXXX-XXXX-XXXXXXXX',
        clientId: 'XXXX-XXXX-XXXX-XXXXXXXX',
        redirectUri: 'https://localhost:4200/',
        endpoints: {
          'https://graph.microsoft.com': 'XXXX-XXXX-XXXX-XXXXXXXX'
        },
        navigateToLoginRequestUrl: false,
        cacheLocation: 'localStorage',
      })
  </code></pre>