Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 574 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 574 Bytes

kong-oauth-token-validator

Simple OAuth2 token validation plugin for Kong. If oauth token scope is not configured, it simply checks for response status from oauth server's token validation API otherwise it also validates the scope of the token.


How to use it

$ cd /path/to/your/custom/kong/plugins
$ git clone https://github.com/rishabhsairawat/kong-oauth-token-validator oauth-token-validator
$ cd oauth-token-validator
$ luarocks make

Add oauth-token-validator to your custom_plugins property of your kong.conf file.

Then, restart kong