Skip to content

Feature/auth o tron#30

Merged
jameshawkes merged 21 commits intomainfrom
feature/auth-o-tron
May 12, 2025
Merged

Feature/auth o tron#30
jameshawkes merged 21 commits intomainfrom
feature/auth-o-tron

Conversation

@sametd
Copy link
Member

@sametd sametd commented Mar 6, 2025

This PR refactors the authentication logic in the aviso_auth service and updates the CLI integration.
The main goals are to:

  • Simplify the token validation flow
  • Integrate caching for token validation using Flask-Caching so that repeated validations for the same token are served from cache (reducing load on auth‑o‑tron).
  • Improve error handling and logging so that dynamic WWW‑Authenticate headers from auth‑o‑tron are propagated and 401 errors are clearly reported with client IP and auth type details.
  • Adjust CLI parts to work with the new authentication flow while preserving backward compatibility.

@sametd sametd requested a review from jameshawkes March 6, 2025 16:18
@jameshawkes jameshawkes merged commit 176211d into main May 12, 2025
11 checks passed
@jameshawkes jameshawkes deleted the feature/auth-o-tron branch May 12, 2025 08:33
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

Comments