-
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"] } },
-
Notifications
You must be signed in to change notification settings - Fork 6
ihippik/krakend-mw
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Some middleware for api gateway krakend
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published