I'm trying to make my web-app's authentication with JWT.
I chose that because JWT is good for scaling-out (horizontal) the system since we wont need to store anything (such as session data) in server.
I also want to make my login form with "Keep me login" option. Then I found the magic refresh_token solution.
It's a good solution.
However, I concern how it can accomplish the scale-out purpose? Because, AFAIK, we have to store data about refresh_token in database or something like that.
P.s: I'm new to distribution system if the explanation above is wrong plz help correct me. Thanks