You are browsing documentation for an outdated version.
See the latest documentation here.
Get Started with Dynamic Plugin Ordering
Here are some common use cases for dynamic plugin ordering.
Rate limiting before authentication
Let’s say you want to limit the amount of requests against your service and route
before Kong requests authentication. You can describe this dependency with the
The following example uses the Rate Limiting Advanced
plugin with the Key Authentication plugin as the
Authentication after request transformation
The following example is similar to running rate limiting before authentication.
For example, you may want to first transform a request, then request authentication
after transformation. You can describe this dependency with the token
Instead of changing the order of the Request Transformer
plugin, you can change the order of the authentication plugin
(Basic Authentication, in this example).