How to create correct JWT token to access secure routes by Kong API gateway secured with JWT plugin and Auth0?

i am stuck with Kong API gateway. I am using JWT plugin with Auth0. following is the url for that: https://docs.konghq.com/hub/kong-inc/jwt/ I have created consumer in Kong and created JWT credential as well for that consumer bu using RSA public key of Auth0. I have created some secure routes in Kong. I have created regular web application in Auth0 free account. i have setup sample NodeJs code given on Auth0 website in quickstart of regular web application with all required credentials. in that sample code i am able to get JWT token as access token. But when i use that token to access secured routes of Kong gateway, it is not working.

Did you solve the problem?


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ