Skip to content
New issue

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

Remove CustomerNumber from authentication parameters #14

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

johanhenriksson
Copy link
Contributor

I'm using this library via https://github.com/Identitry/cert-manager-webhook-loopia - and unfortunately it seems to be broken at the moment.

It appears Loopia changed the authentication parameters that should be prepended to each request to no longer include the Customer Number. Their documentation (https://www.loopia.com/api/authentication/) supports this.

This PR removes CustomerNumber from getAuthenticationArgs() and related structs. The changes seem to fix the problems in cert-manager-webhook-loopia, but I have not done any further testing of the library. There could be API calls that actually expect the CustomerNumber along with the username and password, so further investigation might be required before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants