{"action":"created","issue":{"url":"https://api.github.com/repos/calebmer/postgraphql/issues/292","repository_url":"https://api.github.com/repos/calebmer/postgraphql","labels_url":"https://api.github.com/repos/calebmer/postgraphql/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/calebmer/postgraphql/issues/292/comments","events_url":"https://api.github.com/repos/calebmer/postgraphql/issues/292/events","html_url":"https://github.com/calebmer/postgraphql/issues/292","id":197578345,"number":292,"title":"Auth0 JWT gives a jwt audience invalid. expected: postgraphql","user":{"login":"FGRibreau","id":138050,"avatar_url":"https://avatars.githubusercontent.com/u/138050?v=3","gravatar_id":"","url":"https://api.github.com/users/FGRibreau","html_url":"https://github.com/FGRibreau","followers_url":"https://api.github.com/users/FGRibreau/followers","following_url":"https://api.github.com/users/FGRibreau/following{/other_user}","gists_url":"https://api.github.com/users/FGRibreau/gists{/gist_id}","starred_url":"https://api.github.com/users/FGRibreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FGRibreau/subscriptions","organizations_url":"https://api.github.com/users/FGRibreau/orgs","repos_url":"https://api.github.com/users/FGRibreau/repos","events_url":"https://api.github.com/users/FGRibreau/events{/privacy}","received_events_url":"https://api.github.com/users/FGRibreau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-12-26T11:32:24Z","updated_at":"2016-12-29T02:45:42Z","closed_at":null,"body":"Hello!\r\n\r\nI'm experimenting around PostgraphQL for a new startup and it seems at the time being it requires clams.sub to be \"postgraphql\" while Auth0 gives `\"sub\": \"auth0|70522e86-1fcf-415f-aeda-9325f3413adf\"` (auth0|user_id), @calebmer I can't find a CLI parameter to change this, any idea to make PostgraphQL work with Auth0? :)\r\n\r\n```json\r\n{\r\n  \"errors\": [\r\n    {\r\n      \"message\": \"jwt audience invalid. expected: postgraphql\"\r\n    }\r\n  ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/calebmer/postgraphql/issues/comments/269574143","html_url":"https://github.com/calebmer/postgraphql/issues/292#issuecomment-269574143","issue_url":"https://api.github.com/repos/calebmer/postgraphql/issues/292","id":269574143,"user":{"login":"ugiacoman","id":9060741,"avatar_url":"https://avatars.githubusercontent.com/u/9060741?v=3","gravatar_id":"","url":"https://api.github.com/users/ugiacoman","html_url":"https://github.com/ugiacoman","followers_url":"https://api.github.com/users/ugiacoman/followers","following_url":"https://api.github.com/users/ugiacoman/following{/other_user}","gists_url":"https://api.github.com/users/ugiacoman/gists{/gist_id}","starred_url":"https://api.github.com/users/ugiacoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugiacoman/subscriptions","organizations_url":"https://api.github.com/users/ugiacoman/orgs","repos_url":"https://api.github.com/users/ugiacoman/repos","events_url":"https://api.github.com/users/ugiacoman/events{/privacy}","received_events_url":"https://api.github.com/users/ugiacoman/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T02:45:42Z","updated_at":"2016-12-29T02:45:42Z","body":"@FGRibreau @calebmer Small update, just implemented this with the JS API and got the same error with aud. I can try my luck at a PR if you guys would like :)"}}
{"actor":{"display_login":"ugiacoman"}}