-
|
I've looked through the docs, through the Kong and I'm wondering what the recommended approach is for a custom auth Go plugin in the case where a bearer token is recognized by an internal service outside of Kong, and information about the user of the bearer token has been obtained, but there is no associated Kong consumer for that user. It would be convenient to provision a Kong consumer dynamically. I'm thinking one of these might apply in this case:
Any help is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hello @emwalker, the Go PDK doesn't currently have a way to create entities or manipulate the database. Nothing special prevents us from providing that feature in Go, it's just that it is not there yet. I see two ways to fix your problem:
|
Beta Was this translation helpful? Give feedback.
Hello @emwalker, the Go PDK doesn't currently have a way to create entities or manipulate the database. Nothing special prevents us from providing that feature in Go, it's just that it is not there yet.
I see two ways to fix your problem: