-
Notifications
You must be signed in to change notification settings - Fork 262
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
Issue - 996 | Refactor BasicAuthMiddleware to reduce cognitive complexity #1203
Issue - 996 | Refactor BasicAuthMiddleware to reduce cognitive complexity #1203
Conversation
03ec4c9
to
b2d176c
Compare
@nidhey27 your PR has some failing tests as well as code quality issues. Please resolve them |
@Umang01-hash sure I will have a look at it. Also a bit busy today with my day job so I will try to close this by coming weekend. |
ffe2bcd
to
7637fdf
Compare
@Umang01-hash @vipul-rawat Were the recent changes you made intentional or accidental? |
@nidhey27 We haven't committed anything intentionally. I think you pulled from development and all our recent commits there got merged. |
@nidhey27 Please resolve the review comment given so that we can proceed ahead and merge your PR. |
fcb68ea
to
74679cf
Compare
@nidhey27 You still have one code quality issue in the PR. Please resolve this. Rest everything looks good. Thankyou |
74679cf
to
7a7dd8a
Compare
Signed-off-by: nidhey27 <[email protected]>
Signed-off-by: nidhey27 <[email protected]>
7a7dd8a
to
a421c10
Compare
Issue
Closes: #996
Description:
parseBasicAuth
to handle authorization header parsingrespondUnauthorized
for consistent unauthorized responsesvalidateCredentials
Checklist:
goimport
andgolangci-lint
.