Skip to content

Conversation

modoulo
Copy link

@modoulo modoulo commented Feb 13, 2025

auth: add bearer token support and domain validation

  • Add support for bearer token authentication in Authorization header
  • Add domain validation for redirect URLs
  • Clean up error handling for cache operations
  • Remove debug print statements
  • Update config to support authorized redirect domains

This change allows the auth server to validate bearer tokens directly
and ensures redirects only go to authorized domains. It also improves
error handling when working with the cache.

#166

@modoulo modoulo requested a review from a team as a code owner February 13, 2025 22:36
@modoulo modoulo requested review from tsaarni and sunjayBhatia and removed request for a team February 13, 2025 22:36
modoulo boly sow and others added 3 commits February 14, 2025 11:33
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.25.0 to 0.26.0.
- [Commits](golang/oauth2@v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: modoulo boly sow <[email protected]>
@aliouba
Copy link

aliouba commented Feb 14, 2025

I love this change.
Good job

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.

2 participants