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

feat: ignore basic auth header if empty #397

Merged
merged 2 commits into from
Jun 15, 2024
Merged

Conversation

reubenmiller
Copy link
Owner

Update go-c8y library to include a fix where the Authorization header should be ignored if the username or password is empty.

This enables usage with thin-edge.io by just specifying one environment variable C8Y_HOST:

C8Y_HOST=http://localhost:8001/c8y c8y software list

# or exporting the env variable
export C8Y_HOST=http://localhost:8001/c8y
c8y software list

@reubenmiller reubenmiller merged commit b2a98a7 into v2 Jun 15, 2024
4 checks passed
@reubenmiller reubenmiller deleted the skip-empty-basic-auth branch June 15, 2024 14:42
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.

1 participant