{"action":"opened","issue":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/631","labels_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/631/labels{/name}","comments_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/631/comments","events_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/631/events","html_url":"https://github.com/bshaffer/oauth2-server-php/issues/631","id":101638869,"number":631,"title":"Make it possible to include custom claims in JWT","user":{"login":"hajekj","id":8337913,"avatar_url":"https://avatars.githubusercontent.com/u/8337913?v=3","gravatar_id":"","url":"https://api.github.com/users/hajekj","html_url":"https://github.com/hajekj","followers_url":"https://api.github.com/users/hajekj/followers","following_url":"https://api.github.com/users/hajekj/following{/other_user}","gists_url":"https://api.github.com/users/hajekj/gists{/gist_id}","starred_url":"https://api.github.com/users/hajekj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hajekj/subscriptions","organizations_url":"https://api.github.com/users/hajekj/orgs","repos_url":"https://api.github.com/users/hajekj/repos","events_url":"https://api.github.com/users/hajekj/events{/privacy}","received_events_url":"https://api.github.com/users/hajekj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T11:52:59Z","updated_at":"2015-08-18T11:52:59Z","closed_at":null,"body":"It would be great if we could include our custom claims into the JWT when being generated, just like [Google](https://developers.google.com/identity/protocols/OpenIDConnect#obtainuserinfo) or [Microsoft](https://azure.microsoft.com/en-us/documentation/articles/active-directory-authentication-scenarios/) do."}}