{"action":"created","issue":{"url":"https://api.github.com/repos/mohiva/play-silhouette/issues/290","labels_url":"https://api.github.com/repos/mohiva/play-silhouette/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/mohiva/play-silhouette/issues/290/comments","events_url":"https://api.github.com/repos/mohiva/play-silhouette/issues/290/events","html_url":"https://github.com/mohiva/play-silhouette/issues/290","id":58470644,"number":290,"title":"Arbitrary claims in JWT token","user":{"login":"Kyprus","id":228268,"avatar_url":"https://avatars.githubusercontent.com/u/228268?v=3","gravatar_id":"","url":"https://api.github.com/users/Kyprus","html_url":"https://github.com/Kyprus","followers_url":"https://api.github.com/users/Kyprus/followers","following_url":"https://api.github.com/users/Kyprus/following{/other_user}","gists_url":"https://api.github.com/users/Kyprus/gists{/gist_id}","starred_url":"https://api.github.com/users/Kyprus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kyprus/subscriptions","organizations_url":"https://api.github.com/users/Kyprus/orgs","repos_url":"https://api.github.com/users/Kyprus/repos","events_url":"https://api.github.com/users/Kyprus/events{/privacy}","received_events_url":"https://api.github.com/users/Kyprus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-21T19:04:09Z","updated_at":"2015-02-23T22:18:34Z","closed_at":null,"body":"You are supposed to be able to add arbitrary data (claims) to a JWT token on creation. From what I can tell the lib silhouette is using to build the JWTs supports this but there is no way to pass the information to the authenticator. Is something that could be supported? Thanks!"},"comment":{"url":"https://api.github.com/repos/mohiva/play-silhouette/issues/comments/75649624","html_url":"https://github.com/mohiva/play-silhouette/issues/290#issuecomment-75649624","issue_url":"https://api.github.com/repos/mohiva/play-silhouette/issues/290","id":75649624,"user":{"login":"studiodev","id":872095,"avatar_url":"https://avatars.githubusercontent.com/u/872095?v=3","gravatar_id":"","url":"https://api.github.com/users/studiodev","html_url":"https://github.com/studiodev","followers_url":"https://api.github.com/users/studiodev/followers","following_url":"https://api.github.com/users/studiodev/following{/other_user}","gists_url":"https://api.github.com/users/studiodev/gists{/gist_id}","starred_url":"https://api.github.com/users/studiodev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/studiodev/subscriptions","organizations_url":"https://api.github.com/users/studiodev/orgs","repos_url":"https://api.github.com/users/studiodev/repos","events_url":"https://api.github.com/users/studiodev/events{/privacy}","received_events_url":"https://api.github.com/users/studiodev/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T22:18:34Z","updated_at":"2015-02-23T22:18:34Z","body":"+1 too, roles or scopes are frequently used with JWT (even if I can't say if it's a good practice or not)."}}