[GH-ISSUE #416] [Bug] Shiori won't stay signed in, even when ticking the option #260

Closed
opened 2026-02-25 23:33:48 +03:00 by kerem · 4 comments
Owner

Originally created by @t3dium on GitHub (Mar 30, 2022).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/416

I've tested this on all my devices, and aren't clearing cookies yet shiori logs me out every time. My server has stayed on as well, so the issue isn't ram being cleared.

Originally created by @t3dium on GitHub (Mar 30, 2022). Original GitHub issue: https://github.com/go-shiori/shiori/issues/416 I've tested this on all my devices, and aren't clearing cookies yet shiori logs me out every time. My server has stayed on as well, so the issue isn't ram being cleared.
Author
Owner

@Mati20187 commented on GitHub (Mar 30, 2022):

Can you provide more information? What database do you use with shiori, which version of shiori, which installation method, did it work before and stop or was it always like that for you?

<!-- gh-comment-id:1083080563 --> @Mati20187 commented on GitHub (Mar 30, 2022): Can you provide more information? What database do you use with shiori, which version of shiori, which installation method, did it work before and stop or was it always like that for you?
Author
Owner

@t3dium commented on GitHub (Mar 30, 2022):

Using the latest docker image, and default config. It was always like this for me

<!-- gh-comment-id:1083232419 --> @t3dium commented on GitHub (Mar 30, 2022): Using the latest docker image, and default config. It was always like this for me
Author
Owner

@fmartingr commented on GitHub (Apr 2, 2022):

Hey @t3dium are you using the latest tag or the lastest dev tag? (I've always hated the latest docker nomenclature...). Are you using the extension or the API in any way?
Did you check the "remember me" option?
Did this happen at random or by doing something specific?

I updated the session code so the "Remember" should last 30 days. If there's still a problem with that I may need to migrate the current session tokens to JWT to prevent further issues (and that would also fix the logouts on server restarts).

<!-- gh-comment-id:1086566960 --> @fmartingr commented on GitHub (Apr 2, 2022): Hey @t3dium are you using the `latest` tag or the lastest `dev` tag? (I've always hated the `latest` docker nomenclature...). Are you using the extension or the API in any way? Did you check the "remember me" option? Did this happen at random or by doing something specific? I updated the session code so the "Remember" should last 30 days. If there's still a problem with that I may need to migrate the current session tokens to JWT to prevent further issues (and that would also fix the logouts on server restarts).
Author
Owner

@t3dium commented on GitHub (Apr 2, 2022):

Hey @t3dium are you using the latest tag or the lastest dev tag? (I've always hated the latest docker nomenclature...). Are you using the extension or the API in any way? Did you check the "remember me" option? Did this happen at random or by doing something specific?

I updated the session code so the "Remember" should last 30 days. If there's still a problem with that I may need to migrate the current session tokens to JWT to prevent further issues (and that would also fix the logouts on server restarts).

I was using the shiori:latest tag, firefox web extension & ticked remember me every time. It happened every time I closed my browser/tab, (I’m not deleting cookies however).

That being said, I just updated the shiori image and the issue seems to have been fixed. So the update worked, thanks. I do now get a “network error” when coming back to an open tab on browser launch, however this is only when adding to/reloading shiori and a refresh seems to fix it, so it’s not really an issue.

<!-- gh-comment-id:1086635856 --> @t3dium commented on GitHub (Apr 2, 2022): > Hey @t3dium are you using the `latest` tag or the lastest `dev` tag? (I've always hated the `latest` docker nomenclature...). Are you using the extension or the API in any way? Did you check the "remember me" option? Did this happen at random or by doing something specific? > > I updated the session code so the "Remember" should last 30 days. If there's still a problem with that I may need to migrate the current session tokens to JWT to prevent further issues (and that would also fix the logouts on server restarts). I was using the shiori:latest tag, firefox web extension & ticked remember me every time. It happened every time I closed my browser/tab, (I’m not deleting cookies however). That being said, I just updated the shiori image and the issue seems to have been fixed. So the update worked, thanks. I do now get a “network error” when coming back to an open tab on browser launch, however this is only when adding to/reloading shiori and a refresh seems to fix it, so it’s not really an issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#260
No description provided.