title: AWS Cognito attributes OpenID
body: <p>I'm trying to login in Cognito via another OAuth.
  I added OIDC provider to Cognito Userpool. I setup attribute mappings for this new OIDC "email" -> "Email". In attributes permissions are all permission checked for read and also write.</p>
  
  <p>I can successfully log in through cognito via this OIDC, but there is no attribute email in user. Any idea why ?</p>
  
  <p>I tried manually hit user info endpoint with access token and in response there is email. I dont know why Cognito is not able to get it.</p>
  
  <p>I tried also use Auth0 as OIDC provider and everything works fine, but I can't see any difference between them.</p>
  
  <p>This is OIDC provider: <a href="https://authtest.sportlink.com/.well-known/openid-configuration" rel="nofollow noreferrer">https://authtest.sportlink.com/.well-known/openid-configuration</a></p>