8000 GitHub - lakshay2k/krakend-mw: Some middleware for api gateway krakend
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Some middleware for api gateway krakend

Notifications You must be signed in to change notification settings

lakshay2k/krakend-mw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

KrakenD middleware

  • Relying party (Token-Based Authentication with user roles)

    middleware will check for each request the validity of the jwt-token (expiration time, signature), as well as the correspondence of the user's role with the allowed roles for this endpoint.

    middleware extra config:

      "extra_config": {
        "github_com/ihippik/krakend-mw/relyingparty": {
          "token_secret": "my-token-secret"
        }
      },

    endpoint extra config:

      "extra_config": {
        "github.com/ihippik/krakend-mw/relyingparty": {
          "roles": ["admin","member"]
        }
      },

About

Some middleware for api gateway krakend

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%
0