{"action":"opened","issue":{"url":"https://api.github.com/repos/gravitee-io/issues/issues/1114","repository_url":"https://api.github.com/repos/gravitee-io/issues","labels_url":"https://api.github.com/repos/gravitee-io/issues/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/gravitee-io/issues/issues/1114/comments","events_url":"https://api.github.com/repos/gravitee-io/issues/issues/1114/events","html_url":"https://github.com/gravitee-io/issues/issues/1114","id":301079356,"number":1114,"title":"JWT authentitication always Unauthorized","user":{"login":"beks2016","id":19307923,"avatar_url":"https://avatars0.githubusercontent.com/u/19307923?v=4","gravatar_id":"","url":"https://api.github.com/users/beks2016","html_url":"https://github.com/beks2016","followers_url":"https://api.github.com/users/beks2016/followers","following_url":"https://api.github.com/users/beks2016/following{/other_user}","gists_url":"https://api.github.com/users/beks2016/gists{/gist_id}","starred_url":"https://api.github.com/users/beks2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beks2016/subscriptions","organizations_url":"https://api.github.com/users/beks2016/orgs","repos_url":"https://api.github.com/users/beks2016/repos","events_url":"https://api.github.com/users/beks2016/events{/privacy}","received_events_url":"https://api.github.com/users/beks2016/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-28T15:57:01Z","updated_at":"2018-02-28T15:57:01Z","closed_at":null,"author_association":"NONE","body":"Hello support ,\r\nWe want to secure our API with JWT when I send my JWT I'm always having the json below as response :\r\n\r\n{\r\n   \"message\": \"Unauthorized\",\r\n   \"http_status_code\": 401\r\n}\r\n\r\nIn the gateway logs I have : \r\n\r\nERROR io.gravitee.policy.jwt.JWTPolicy - **A signing key must be specified if the specified JWT is digitally signed.**\r\n\r\nI know that I should add the configuration below in the gateway yaml file , but I'm note sure \r\nhow would I replace the properties (myValidationKey,anEmail@domain.com) in case I'm having jwt signed with or without RSA   ?\r\n\r\npolicy:\r\n  jwt:\r\n    issuer:\r\n      my.authorizaztion.server:\r\n        default: ssh-rsa myValidationKey anEmail@domain.com\r\n        kid-2016: ssh-rsa myCurrentValidationKey anEmail@domain.com\r\n\r\n\r\n\r\nMy best regards :)\r\n\r\n\r\n* Version used:  1.12.5\r\n* Browser Name :\r\n* Operating System : centos 6\r\n"}}
{"actor":{"display_login":"beks2016"}}