{"action":"closed","issue":{"url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-nodejs/issues/65","labels_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-nodejs/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-nodejs/issues/65/comments","events_url":"https://api.github.com/repos/AzureAD/azure-activedirectory-library-for-nodejs/issues/65/events","html_url":"https://github.com/AzureAD/azure-activedirectory-library-for-nodejs/issues/65","id":95060874,"number":65,"title":"Id token subject identifier field is 'sub', not 'subject'.","user":{"login":"aj-michael","id":7756476,"avatar_url":"https://avatars.githubusercontent.com/u/7756476?v=3","gravatar_id":"","url":"https://api.github.com/users/aj-michael","html_url":"https://github.com/aj-michael","followers_url":"https://api.github.com/users/aj-michael/followers","following_url":"https://api.github.com/users/aj-michael/following{/other_user}","gists_url":"https://api.github.com/users/aj-michael/gists{/gist_id}","starred_url":"https://api.github.com/users/aj-michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aj-michael/subscriptions","organizations_url":"https://api.github.com/users/aj-michael/orgs","repos_url":"https://api.github.com/users/aj-michael/repos","events_url":"https://api.github.com/users/aj-michael/events{/privacy}","received_events_url":"https://api.github.com/users/aj-michael/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T22:55:30Z","updated_at":"2015-07-16T01:19:47Z","closed_at":"2015-07-16T01:19:47Z","body":"When retrieving a userid from an idtoken, one of the fallbacks is the subject field of the idtoken. Per the spec, the field is sub. I also confirmed it against login.windows.net token endpoint.\r\n\r\nhttp://openid.net/specs/openid-connect-core-1_0.html#IDToken"}}