I currently have a REST API backend service A that is being utilized by two other services:
- B service, which is a web app running in a browser (on a separate node server)
- C service, which is also a backend service (running on a separate server)
Initially, I considered using basic authentication for A-B communication. However, this approach doesn't make sense for A-C since storing credentials securely in a browser is challenging. Additionally, implementing session and tokens for A-B communication seems unconventional.
No matter what solution I consider, it feels like a constant struggle.
What do you believe would be a reasonable resolution for this type of setup?