{"action":"opened","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2645","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer4","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2645/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2645/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2645/events","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/2645","id":363399490,"node_id":"MDU6SXNzdWUzNjMzOTk0OTA=","number":2645,"title":"IdentityServer is not returning \"Email\" as part of id_token.","user":{"login":"NavpreetHallen","id":43561682,"node_id":"MDQ6VXNlcjQzNTYxNjgy","avatar_url":"https://avatars1.githubusercontent.com/u/43561682?v=4","gravatar_id":"","url":"https://api.github.com/users/NavpreetHallen","html_url":"https://github.com/NavpreetHallen","followers_url":"https://api.github.com/users/NavpreetHallen/followers","following_url":"https://api.github.com/users/NavpreetHallen/following{/other_user}","gists_url":"https://api.github.com/users/NavpreetHallen/gists{/gist_id}","starred_url":"https://api.github.com/users/NavpreetHallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NavpreetHallen/subscriptions","organizations_url":"https://api.github.com/users/NavpreetHallen/orgs","repos_url":"https://api.github.com/users/NavpreetHallen/repos","events_url":"https://api.github.com/users/NavpreetHallen/events{/privacy}","received_events_url":"https://api.github.com/users/NavpreetHallen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-25T03:48:01Z","updated_at":"2018-09-25T03:48:01Z","closed_at":null,"author_association":"NONE","body":"I have added Email as part of GetIdentityResources() in Config.cs as well as AllowedScopes  but id_token doesn't contain user email at all.\r\ndecoded id_token : it only contains id not email \r\n{\r\n  \"nbf\": 1537847177,\r\n  \"exp\": 1537847477,\r\n  \"iss\": \"https://********com\",\r\n  \"aud\": \"**\",\r\n  \"nonce\": \"*******-574a-477c-af85-510b5e5f7fd\",\r\n  \"iat\": **7847177,\r\n  \"c_hash\": \"****WgKjTnCqOwf4TQ\",\r\n  \"sid\": \"***be84668c81e19a21ae56824c6\",\r\n  \"sub\": \"a0e5850c-8c9a-43e4-9b39-da6293291f77\",\r\n  \"auth_time\": 1537846394,\r\n  \"idp\": \"local\",\r\n  \"amr\": [\r\n    \"pwd\"\r\n  ]\r\n}"}}
{"actor":{"display_login":"NavpreetHallen"}}