title: Get Email from IdentityServer 4 using ASPNetIdentity
body: <p>Here is my structure.</p>
  
  <p>-Asp.Net c# Application with IdentityServer 4 used to register and authenticate a user.</p>
  
  <p>-Asp.Net C# Web API that serve some services that used Identity4Server to Authorize a user</p>
  
  <p>-Angular 4 application with ocid-client that use the ASP.Net C# Application to authenticate the angular app.</p>
  
  <p><strong>Question :</strong>
  Actually, when I Print the Authenticated User Claims in the Web API application, I do not see the User Email. Is there a way to see it in the claim.</p>
  
  <p><strong>In WEB API application</strong></p>
  
  <pre><code>    if (User.Identity.IsAuthenticated)
      {
          var claims = User.Claims.ToList();
          //Would like to see the User Email Informations
          var AspnetUserId = User.Claims.FirstOrDefault(p =&gt; p.Type == "sub").Value;
  
          this.ContactService.UpdateUserProfile(AspnetUserId,profile);
      }
  </code></pre>
  
  <p><strong>In Indentity Server Application</strong></p>
  
  <pre><code>        new Client
          {
              ClientId = "tgc",
              ClientName = "Tag Twee Client Angular",
              AllowedGrantTypes = GrantTypes.Implicit,
  
              RequireConsent = false,
              AllowAccessTokensViaBrowser = true,
              RedirectUris = { "http://localhost:5002/login" },
              PostLogoutRedirectUris = { "http://localhost:5002/logout" },
              AllowedCorsOrigins = { "http://localhost:5002" },
              AllowedScopes =
              {
                  IdentityServerConstants.StandardScopes.OpenId,
                  IdentityServerConstants.StandardScopes.Profile,
                  "TTAPI",
                  IdentityServerConstants.StandardScopes.Email
              }
          }
  </code></pre>