-
Hello, I've set up remix-auth, similarly as in the readme.
It works, users can register/log in and their session persists. But I'm having problems grasping what the session key property is for. I store the username and sessionID in the session storage, if I try to store the sessionID in the session key property then it's the same for every user because the authenticator is instantiated only when the server starts. I guess doing something wrong but I have no idea what, some help would be appreciated. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The session storage is an object, the data you return is stored in a key of that object, that key is the session key, by default the session key is |
Beta Was this translation helpful? Give feedback.
The session storage is an object, the data you return is stored in a key of that object, that key is the session key, by default the session key is
user
.