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

Pass through error messages from AuthFromMD for debugging #1960

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

evankanderson
Copy link
Member

See #1957 -- requests though the GRPC gateway don't seem to have proper auth (returning codes.Unauthenticated, but we're not providing anything more useful in terms of error message to distinguish different cases.

I'd really love it if I'd written tests for UnaryAuthorizationInterceptor earlier, but I compounded the technical debt here to get the quick fix in.

@evankanderson evankanderson requested a review from a team as a code owner December 18, 2023 21:09
JAORMX
JAORMX previously approved these changes Dec 19, 2023
@JAORMX
Copy link
Contributor

JAORMX commented Dec 19, 2023

Oh, fails the linter

@evankanderson evankanderson merged commit 7b24717 into mindersec:main Dec 19, 2023
16 checks passed
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.

3 participants