fix(auth): allow authorization for Github and OIDC behind the reverse proxy
Codecov Report
Attention: Patch coverage is 79.68750% with 13 lines in your changes missing coverage. Please review.
Project coverage is 71.08%. Comparing base (
f997fb9) to head (138bbbd). Report is 384 commits behind head on main.
:exclamation: Current head 138bbbd differs from pull request most recent head 5ccfeee
Please upload reports for the commit 5ccfeee to get more accurate results.
| Files | Patch % | Lines |
|---|---|---|
| internal/server/authn/method/http.go | 50.00% | 6 Missing :warning: |
| internal/config/authentication.go | 86.84% | 5 Missing :warning: |
| internal/cmd/authn.go | 0.00% | 1 Missing :warning: |
| internal/cmd/http.go | 0.00% | 1 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #3135 +/- ##
==========================================
+ Coverage 70.78% 71.08% +0.29%
==========================================
Files 91 109 +18
Lines 8729 7981 -748
==========================================
- Hits 6179 5673 -506
+ Misses 2165 1869 -296
- Partials 385 439 +54
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@erka is this ready for review?
@erka is this ready for review?
@markphelps It works, but it's not ideal. The callback_url and authorize_url in the authentication method metadata lack the necessary prefix. While modifying them is possible, it involves dealing with low-level gRPC objects, making performance impact and maintenance difficult.
Thanks for the efforts guys. Really cool 👍