Skip to content

A Kong plugin that support multiple types of authentication methods

License

Notifications You must be signed in to change notification settings

imagora/kong-infinity-auth-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kong

Kong does not support multiple types of authentication methods at the same time.

When the authentication method needs to be modified, such as switching from BasicAuth to HmacAuth, the service needs a transition period that supports multiple authentication methods.

How does this plugin work

As specified in [RFC 7235], each authentication type is determined by the auth-scheme in the HTTP Authentication Header.

AuthType AuthScheme
Basic Auth Basic
JWT Bearer
Hmac Auth Hmac
AWS Signature Version 4 AWS4-HMAC-SHA256

Therefore, according to the auth-scheme, the authentication type used by the request can be determined.

Then perform authentication according to the corresponding authentication type.

About

A Kong plugin that support multiple types of authentication methods

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published