问题
Using Jhipster (monolith, oauth2, with registry) forces our users to log-in every once in a while.
After searching a bit, we assume that it's because we have multiple instances of our monolith and sometimes the users get routed to different instances.
So I have 2 questions:
- Why does Jhipster implement oauth2 in a stateful way?
- How should we handle this, assuming we're staying with the current configuration?
来源:https://stackoverflow.com/questions/54169816/why-is-using-jhipster-oauth2-stateful-and-how-to-implement-it