{"action":"created","issue":{"url":"https://api.github.com/repos/Nexmo/client-library-specification/issues/22","repository_url":"https://api.github.com/repos/Nexmo/client-library-specification","labels_url":"https://api.github.com/repos/Nexmo/client-library-specification/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Nexmo/client-library-specification/issues/22/comments","events_url":"https://api.github.com/repos/Nexmo/client-library-specification/issues/22/events","html_url":"https://github.com/Nexmo/client-library-specification/issues/22","id":208983147,"number":22,"title":"Update specification to state libraries should support full JSON structures when generating JWTs","user":{"login":"leggetter","id":328367,"avatar_url":"https://avatars.githubusercontent.com/u/328367?v=3","gravatar_id":"","url":"https://api.github.com/users/leggetter","html_url":"https://github.com/leggetter","followers_url":"https://api.github.com/users/leggetter/followers","following_url":"https://api.github.com/users/leggetter/following{/other_user}","gists_url":"https://api.github.com/users/leggetter/gists{/gist_id}","starred_url":"https://api.github.com/users/leggetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leggetter/subscriptions","organizations_url":"https://api.github.com/users/leggetter/orgs","repos_url":"https://api.github.com/users/leggetter/repos","events_url":"https://api.github.com/users/leggetter/events{/privacy}","received_events_url":"https://api.github.com/users/leggetter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-20T21:13:33Z","updated_at":"2017-02-21T11:37:57Z","closed_at":null,"body":"It should be possible to generate a JWT with numerous and nested claims e.g.\r\n\r\n```json\r\n{\r\n  \"application_id\": \"dfsdf-sdfsd-sdf-sdfs-dfsfd-dfsdsd\",\r\n  \"nbf\": \"2017-01-02T00:00:00Z UTC\",\r\n  \"exp\": \"2018-01-01T00:00:00Z UTC\",\r\n  \"iat\": \"2017-01-01T00:00:00Z UTC\",\r\n  \"acl\": {\r\n    \"paths\": {\r\n      \"/messages\": {\r\n        \"methods\": [\"POST\"],\r\n        \"filters\": {\r\n          \"from\": \"55555555555\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nPlease also note that `application_id` may not always be a claim."},"comment":{"url":"https://api.github.com/repos/Nexmo/client-library-specification/issues/comments/281318865","html_url":"https://github.com/Nexmo/client-library-specification/issues/22#issuecomment-281318865","issue_url":"https://api.github.com/repos/Nexmo/client-library-specification/issues/22","id":281318865,"user":{"login":"judy2k","id":359772,"avatar_url":"https://avatars.githubusercontent.com/u/359772?v=3","gravatar_id":"","url":"https://api.github.com/users/judy2k","html_url":"https://github.com/judy2k","followers_url":"https://api.github.com/users/judy2k/followers","following_url":"https://api.github.com/users/judy2k/following{/other_user}","gists_url":"https://api.github.com/users/judy2k/gists{/gist_id}","starred_url":"https://api.github.com/users/judy2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/judy2k/subscriptions","organizations_url":"https://api.github.com/users/judy2k/orgs","repos_url":"https://api.github.com/users/judy2k/repos","events_url":"https://api.github.com/users/judy2k/events{/privacy}","received_events_url":"https://api.github.com/users/judy2k/received_events","type":"User","site_admin":false},"created_at":"2017-02-21T11:37:57Z","updated_at":"2017-02-21T11:37:57Z","body":"Do we have an implementation of this feature in any of the client libraries? (For reference)"}}
{"actor":{"display_login":"judy2k"}}