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

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

Originally created by @t3dium on GitHub (May 29, 2022).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/430

I thought this issue was fixed in my previous issue: 416, but that only saved the session for 24 hours (and not the intended 30 days), after which it expires again.

Client OS: arch, w10, ipados
Server: Docker, default config latest, ubuntu server

Originally created by @t3dium on GitHub (May 29, 2022). Original GitHub issue: https://github.com/go-shiori/shiori/issues/430 I thought this issue was fixed in my previous issue: [416](https://github.com/go-shiori/shiori/issues/416 ), but that only saved the session for 24 hours (and not the intended 30 days), after which it expires again. **Client OS**: arch, w10, ipados **Server**: Docker, default config latest, ubuntu server
Author
Owner

@fmartingr commented on GitHub (Jun 23, 2022):

Hey @t3dium, which browser are you using? I'm working on a little fix of duplicated code regarding sessions (expire time will be sent by te server until I implement a proper session with JWTs refresh tokens) and in my tests the session is set to one hour without the checkbox enabled and to 30 days with it, but in Safari (macOS) the expire time is set to 7 days due to a "feature" implemented in the browser. Maybe your browser has something similar? Qutebrowser correctly sets cookie duration as expected.

<!-- gh-comment-id:1164032845 --> @fmartingr commented on GitHub (Jun 23, 2022): Hey @t3dium, which browser are you using? I'm working on a little fix of duplicated code regarding sessions (expire time will be sent by te server until I implement a proper session with JWTs refresh tokens) and in my tests the session is set to one hour without the checkbox enabled and to 30 days with it, **but** in Safari (macOS) the expire time is set to 7 days due to a "feature" implemented in the browser. Maybe your browser has something similar? Qutebrowser correctly sets cookie duration as expected.
Author
Owner

@t3dium commented on GitHub (Jun 24, 2022):

@fmartingr I'm using firefox on desktop, but I've also reproduced the issue on safari (ipados)

strangely however I've noticed the shiori web extension always stays signed in on windows, and the addon doesn't encounter this issue, but not on linux using the same browser

<!-- gh-comment-id:1165370672 --> @t3dium commented on GitHub (Jun 24, 2022): @fmartingr I'm using firefox on desktop, but I've also reproduced the issue on safari (ipados) strangely however I've noticed the shiori web extension always stays signed in on windows, and the addon doesn't encounter this issue, but not on linux using the same browser
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#266
No description provided.