title: How to add custom claims to access token in IdentityServer4?
body: <p>I am using <a href="https://identityserver4.readthedocs.io/en/release/" rel="noreferrer">IdentityServer4</a>.</p>
  
  <p>I want to add other custom claims to access token but I'm unable to do this. I have modified Quickstart5 and added ASP.NET Identity Core and the custom claims via ProfileService as suggested by Coemgen <a href="https://stackoverflow.com/a/44795605/103264">below</a>.</p>
  
  <p>You can download my code here: [zip package][3]. (It is based on: <a href="https://github.com/IdentityServer/IdentityServer4.Samples/tree/release/Quickstarts/5_HybridFlowAuthenticationWithApiAccess" rel="noreferrer">Quickstart5</a> with ASP.NET Identity Core and added claims via ProfileService).</p>
  
  <p>Issue: GetProfileDataAsync does not executed.</p>