You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a plugin that needs to Authenticate SOAP requests so I cannot use the built-in Key Auth plugin.
To do this, I need to access the list of defined consumers (the same one I would use with the Key Auth plugin) so I can match password/token against it and see if the user is authenticated.
However, I cannot find any method in the SDK that would provide me with such list. I know this is available in Lua, though.
Can you point me in the right direction?
Thank you in advance
The text was updated successfully, but these errors were encountered:
The Go PDK does not provide any helpers to query Kong entities; I understand this isn't ideal, but a potential solution for DB mode is to query the entities from the Golang side. I will tag this an enhancement proposal and add this to our ideas board.
Unfortunately this is a show stopper as we use the declarative db-less deployment.
In particular, we want this to add a new Authentication method for SOAP messages, where the Key is embedded in the payload.
Would you happen to know another way to do it in Go?
I am writing a plugin that needs to Authenticate SOAP requests so I cannot use the built-in
Key Auth
plugin.To do this, I need to access the list of defined consumers (the same one I would use with the
Key Auth
plugin) so I can match password/token against it and see if the user is authenticated.However, I cannot find any method in the SDK that would provide me with such list. I know this is available in Lua, though.
Can you point me in the right direction?
Thank you in advance
The text was updated successfully, but these errors were encountered: