Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Shaazin Sheikh ShukoorShaazin Sheikh ShukoorReporter
Timofey BarminTimofey BarminIs this a Regression?
UnknownTriage
UntriagedIssue Impact
externalStory Points
0Priority
MajorInstabug
Open Instabug
Details
Details
Assignee
Shaazin Sheikh Shukoor
Shaazin Sheikh ShukoorReporter
Timofey Barmin
Timofey BarminIs this a Regression?
Unknown
Triage
Untriaged
Issue Impact
external
Story Points
0
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created June 19, 2024 at 4:07 PM
Updated March 21, 2025 at 2:45 AM
Resolved August 9, 2024 at 9:55 PM
When a username is extracted from a client certificate, we don't check user for existence. We need to add this check before stopping the matching process.
In other words, current algorithm is:
1. We start from the first tuple in the list: (path, prefix, delimiter).
2. If we can extract the username from the certificate using that tuple the authentication is successful, we return extracted username.
3. If this is the last tuple, authentication has failed, stop.
4. Switch to the next tuple, and go to step 2.
We should modify it the following way:
1. We start from the first tuple in the list: (path, prefix, delimiter).
2. If we can extract the username from the certificate using that tuple and that local user exists in couchbase-server the authentication is successful, we return extracted username.
3. If this is the last tuple, authentication has failed, stop.
4. Switch to the next tuple, and go to step 2.