Next mvp - Logging has Login, using identity-backend
Great, I have now fully consumed both microservices . Next, I'll outline how to implement robust, identity-backend -controlled authentication and login for your /logs endpoint. Context Recap identity-backend: Issues/validates JWTs , but currently only supports service tokens (not user sessions/logins). No UI, but could easily serve login pages or handle user credentials. logging-backend : Exposes /logs (and related endpoints) protected by JWT (validated locally using the shared secret, audience, and issuer). No UI, currently expects Authorization header in every request. No notion of "users"—only services with JWTs. Your Goal Make /logs a secure log viewer accessible only to authenticated users. Delegate all authentication and login logic to identity-backend . Enable identity-backend to serve a login page for any microservice , not just logging-backend. 1. Proposed Authentication Flow A. Browser/User visits /logging-back...