{"action":"created","issue":{"url":"https://api.github.com/repos/joken-elixir/joken/issues/206","repository_url":"https://api.github.com/repos/joken-elixir/joken","labels_url":"https://api.github.com/repos/joken-elixir/joken/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/joken-elixir/joken/issues/206/comments","events_url":"https://api.github.com/repos/joken-elixir/joken/issues/206/events","html_url":"https://github.com/joken-elixir/joken/issues/206","id":386881568,"node_id":"MDU6SXNzdWUzODY4ODE1Njg=","number":206,"title":"verify_and_validate regression in rc3","user":{"login":"brweber2","id":19903,"node_id":"MDQ6VXNlcjE5OTAz","avatar_url":"https://avatars1.githubusercontent.com/u/19903?v=4","gravatar_id":"","url":"https://api.github.com/users/brweber2","html_url":"https://github.com/brweber2","followers_url":"https://api.github.com/users/brweber2/followers","following_url":"https://api.github.com/users/brweber2/following{/other_user}","gists_url":"https://api.github.com/users/brweber2/gists{/gist_id}","starred_url":"https://api.github.com/users/brweber2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brweber2/subscriptions","organizations_url":"https://api.github.com/users/brweber2/orgs","repos_url":"https://api.github.com/users/brweber2/repos","events_url":"https://api.github.com/users/brweber2/events{/privacy}","received_events_url":"https://api.github.com/users/brweber2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-03T15:52:40Z","updated_at":"2018-12-03T17:00:24Z","closed_at":null,"author_association":"NONE","body":"Between 2.0 rc2 and rc3 my code stopped working. \r\n\r\nI have a module MyToken \r\n\r\n```\r\ndefmodule MyToken do\r\n  use Joken.Config, default_signer: nil # no signer\r\n  ...\r\nend\r\n```\r\n\r\nWhen I call verify_and_validate and pass it my JWT token it no longer works.\r\n\r\n```\r\ntoken = \"<jwt>\"\r\nMyToken.verify_and_validate(token)\r\n```\r\n\r\nI see that some changes were made to verify_and_validate since rc2, but the issue isn't obvious to me or I would have submitted a pull request with a fix. \r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/joken-elixir/joken/issues/comments/443785046","html_url":"https://github.com/joken-elixir/joken/issues/206#issuecomment-443785046","issue_url":"https://api.github.com/repos/joken-elixir/joken/issues/206","id":443785046,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc4NTA0Ng==","user":{"login":"brweber2","id":19903,"node_id":"MDQ6VXNlcjE5OTAz","avatar_url":"https://avatars1.githubusercontent.com/u/19903?v=4","gravatar_id":"","url":"https://api.github.com/users/brweber2","html_url":"https://github.com/brweber2","followers_url":"https://api.github.com/users/brweber2/followers","following_url":"https://api.github.com/users/brweber2/following{/other_user}","gists_url":"https://api.github.com/users/brweber2/gists{/gist_id}","starred_url":"https://api.github.com/users/brweber2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brweber2/subscriptions","organizations_url":"https://api.github.com/users/brweber2/orgs","repos_url":"https://api.github.com/users/brweber2/repos","events_url":"https://api.github.com/users/brweber2/events{/privacy}","received_events_url":"https://api.github.com/users/brweber2/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T17:00:24Z","updated_at":"2018-12-03T17:00:24Z","author_association":"NONE","body":"Ah, so the hook might be the issue. I'm using a hook from:\r\n[https://github.com/joken-elixir/joken_jwks](https://github.com/joken-elixir/joken_jwks)\r\n\r\n```\r\nadd_hook(JokenJwks, jwks_url: @keys_url)\r\n```\r\n\r\nThat hook probably needs to be updated? I will dig a little more...."}}
{"actor":{"display_login":"brweber2"}}