We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
go-pdk/client/client.go
Lines 125 to 152 in 4deec45
The function kong.client.authenticate in the Kong PDK client module supports nil values for both consumer and credential:
While both consumer and credential can be nil, at least one of them must exist. Otherwise, this function will throw an error.
consumer
credential
nil
The current implementation of the go client does not allow either parameter to be nil, but it should.
The text was updated successfully, but these errors were encountered:
Thanks for the report and the PR! We will be looking into it soon.
Sorry, something went wrong.
fix(client): allow nil values authenticate
bf82b66
Either `consumer` or `credential` may be nil. Fixes Kong#152
efa03e7
No branches or pull requests
go-pdk/client/client.go
Lines 125 to 152 in 4deec45
The function kong.client.authenticate in the Kong PDK client module supports nil values for both consumer and credential:
The current implementation of the go client does not allow either parameter to be nil, but it should.
The text was updated successfully, but these errors were encountered: