Closed erikhofer closed 7 years ago
A good approach would be to have an API gateway that is hit with a session ID and talks to the backend with a JWT. This combines the pros of both. However, we probably want to use an existing load balancer (ELB?) and not a custom one.
For now, we should stick to Spring's built-in sessions. When we have to scale up, we can reconsider this issue (implementation should be easy enough to change). A distributed session cache is still a viable scaling solution.
Idea: Use JWT instead of session IDs.
Pros:
Cons:
Notes: