How to use Oauth2 plugin with JWT tokens?

Our project has decided to introduce an API gateway and we going with Kong. I am trying to add oauth2 plugin to a service that i have created in kong but i am not able to understand its flow when using authorization code flow.
Also does oauth2 plugin support JWT tokens if yes how can we implement it? If it does not support JWT tokens then how can we create our own plugin?
Also how is oauth2 plugin verifying the generated tokens ?

Hi, if you have existing OAuth2 provider, you can use custom plugin that i’ve made to authenticate with it. Or just use it as reference for developing custom kong plugin.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ