[Feature] Stay logged in #964

Open
opened 5 months ago by tadly · 6 comments
tadly commented 5 months ago

I'd be nice to have the option to stay logged in.

Especially if you just quickly want to add a task to your todo list but have to log in first + add your 2FA this becomes quite the bothersome task.

Hope that's possible :)

P.s. Not sure if this belongs to api or frontend. Probably both as both would likely need adaption for this to work

I'd be nice to have the option to stay logged in. Especially if you just quickly want to add a task to your todo list but have to log in first + add your 2FA this becomes quite the bothersome task. Hope that's possible :) P.s. Not sure if this belongs to api or frontend. Probably both as both would likely need adaption for this to work
Owner

The session currently lasts three days. If you access the site within that time, it will be extendend by another three days. So if you use it regularly, you should stay logged in pretty much all the time.

I do see the value of a "stay logged in" checkbox (as usual with other logins) which would extend that. Will look into that but with a low priority.

The session currently lasts three days. If you access the site within that time, it will be extendend by another three days. So if you use it regularly, you should stay logged in pretty much all the time. I do see the value of a "stay logged in" checkbox (as usual with other logins) which would extend that. Will look into that but with a low priority.
konrad added the
kind/feature
label 5 months ago
Poster

Awesome, thanks.

I have the tab pinned but add tasks iregularely from different devices so I exceed the 3 day limit pretty much always.

Awesome, thanks. I have the tab pinned but add tasks iregularely from different devices so I exceed the 3 day limit pretty much always.

I guess this is done with: #999

I guess this is done with: https://kolaente.dev/vikunja/api/pulls/999

I guess if you wanted to have a "remember me" feature, you could store the authentication token in the session storage by default.

When the "remember me" checkbox is ticked, then the token would then be stored in the local storage.

Ofcourse, this would be a frontend issue.

I guess if you wanted to have a "remember me" feature, you could store the authentication token in the session storage by default. When the "remember me" checkbox is ticked, then the token would then be stored in the local storage. Ofcourse, this would be a frontend issue.
Owner

I think there should be a "remember me" function at some point, so this issue can stay open to track that.

@stephen-hill you'll still need to have logic on the api side for "remember me" tokens to get longer lasting tokens. If you store a token for a month that's only valid for three days that's pretty much useless.

I think there should be a "remember me" function at some point, so this issue can stay open to track that. @stephen-hill you'll still need to have logic on the api side for "remember me" tokens to get longer lasting tokens. If you store a token for a month that's only valid for three days that's pretty much useless.

If you store a token for a month that's only valid for three days that's pretty much useless.

Agreed.

> If you store a token for a month that's only valid for three days that's pretty much useless. Agreed.
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.