Repository navigation
Conversation
Roman3349
force-pushed
the
fix/basic-auth-endpoints
branch
2 times, most recently
from
November 26, 2026 14:58
5f60164 to
9af1c7b
Compare
Signed-off-by: Roman Ondráček <mail@romanondracek.cz>
Signed-off-by: Roman Ondráček <mail@romanondracek.cz>
Roman3349
force-pushed
the
fix/basic-auth-endpoints
branch
from
November 26, 2026 15:01
9af1c7b to
a158f75
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #185 +/- ##
============================================
+ Coverage 74.86% 75.13% +0.27%
Complexity 461 461
============================================
Files 25 25
Lines 1110 1110
============================================
+ Hits 831 834 +3
+ Misses 279 276 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
SigninService::postSignin(),UsersService::postUsersIDPassword(),UsersService::putMePassword()andSecurityAndAccessEndpointsService::postUsersIDPassword()referenced non-existing property$this->config, so they always failed withCall to a member function getUsername() on null.The broken code is removed, the operations use the authentication supported by InfluxDB OSS:
postSignin()- HTTP basic authentication passed by the$authorizationparameterpostUsersIDPassword()- the token of the clientputMePassword()- a session created bypostSignin()and HTTP basic authentication with the old password, e.g.:Checklist
make testcompletes successfully