Skip to content

rishabhsairawat/kong-oauth-token-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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