Simple Logic plugin #7390
Replies: 4 comments
-
Can you provide a more detailed description of your use case? |
Beta Was this translation helpful? Give feedback.
-
Sure, I'm building a new system where I have to ensure every users/consumers of my microservices has verified his account during registration. Am thinking if there is a simple plugin for this, I don't have to do an extra check in all my services. |
Beta Was this translation helpful? Give feedback.
-
Thx. How would you envision this to work? What interaction between the application and kong would be required? Can you describe this flow? |
Beta Was this translation helpful? Give feedback.
-
I haven't looked into how the plugin works but on a high level, I would imagine when you create a consumer in Kong, you can specify extra fields just like you would for a normal user (verified, dob, etc. ) as json.
On each request, the plugin evaluates the conditions and can deny or allow the request. |
Beta Was this translation helpful? Give feedback.
-
One really good thing about Kong is the plugin architecture it has and I think it would be nice able to add
simple logic plugin
to check the user/consumer status without delegating this task to upstream services.For example, Account Confirmation plugin will check every request that the user / consumer status is
verified
Beta Was this translation helpful? Give feedback.
All reactions