Replies: 2 comments 8 replies
-
See #435 (comment) for one possible solution. |
Beta Was this translation helpful? Give feedback.
-
@janko Yeah, I've seen that. But it does seem a bit like a hack. In that example, if an other session would add 2FA to the account, then the first session would remain signed in via the remember function; while never having been authenticated in the first place. I would consider that a security issue. You could augment that by calling |
Beta Was this translation helpful? Give feedback.
-
Hi,
Our current rodauth setup uses the
remember
plugin to allow user to have a long-term session on their devise (this is actually a default tin our case) and we also allow users to configure several 2 factor solutions.Now, some of our users have found that each time they kill their browser (or restart their computer) that they are confronted with a 2 factor confirmation screen again, while they expect to still be signed in.
I understand that in rodauth the current session is maintained in a session cookie and this is thus also the state of where the 2FA flag is kept, and he remember cookie is kept in a time based cookie. This explains the behaviour the users are seeing.
Now, if we would want to implement their request, what would be the best way to go about this?
remember
plugin and store the session in a long-lived cookie?remember
state?Beta Was this translation helpful? Give feedback.
All reactions