title: AWS Cognito wrong issuer after redirect
body: <p>In my angular project im using angular-oauth2-oidc package and use AWS cognito for user authentication.</p>
  <p>The workflow is like</p>
  <ol>
  <li>click on login on my-login-page (localhost)</li>
  <li>navigate to the AWS hostet UI screen and login there</li>
  <li>redirect to my-dashboard-page (localhost)</li>
  </ol>
  <p>When I'm redirecting from AWS hostet UI to my page I get this errors in the console and instead of beeing redirected to the my dashboard I will be redirected to the login screen.</p>
  <pre><code>Error validating tokens
  Wrong issuer
  </code></pre>
  <p>this is how my auth config for angular-oauth2-oidc looks like:</p>
  <pre><code>  auth: {
      issuer: `https://cognito-idp.eu-central-1.amazoncognito.com/eu-central-1_123456`,
      loginUrl: `https://&lt;domain-name&gt;.auth.eu-central-1.amazoncognito.com/login`,
      logoutUrl: `https://localhost:4200/sign-out`,
      responseType: 'token',
      redirectUri: 'https://localhost:4200/dashboard',
      requestAccessToken: true,
      showDebugInformation: false,
      clientId: &lt;client-id&gt;,
      strictDiscoveryDocumentValidation: false,
      scope: 'email profile'
    },
  </code></pre>
  <p>how does the issuer propery have to look like so I don't get the error and be authenticated and be redirected to my dashboard?</p>