Comments (7)
But your suspicion is reasonable, because this issue cannot be reproduced on the Mihon Komga plugin.(That means I don't need to sign in again after restart Mihon)
not really relevant, since Mihon has credentials and will transparently login if needed.
from komga.
Ideally the remember-me checkbox should apply to OAuth2, but it doesn't. I raised this spring-projects/spring-security#15078 let's see if that gets accepted or not.
from komga.
Does your browser clear cookies on restart maybe ? Session on client side is stored in cookies.
Also, was the server restarted or was it running all the time ? Sessions are only stored in memory.
from komga.
Does your browser clear cookies on restart maybe ? Session on client side is stored in cookies.您的浏览器是否会在重新启动时清除 cookie?客户端的会话存储在cookie中。
Also, was the server restarted or was it running all the time ? Sessions are only stored in memory.另外,服务器是重新启动还是一直在运行?会话仅存储在内存中。
If my browser clears cookies on every restart, then my SSO (Authelia) would also log out.
And I've been checking by looking at the docker logs, so the server has been running continuously.
But your suspicion is reasonable, because this issue cannot be reproduced on the Mihon Komga plugin.(That means I don't need to sign in again after restart Mihon)
from komga.
I think I've found the reason. Following your suggestion, I checked the Cookies, and I found that after a successful login, Komga creates a cookie called SESSION
, but its Expires/Max-Age
property is set to Session
. So this cookie gets cleared every time I restart the browser.
from komga.
Komga creates a cookie called
SESSION
, but itsExpires/Max-Age
property is set toSession
. So this cookie gets cleared every time I restart the browser.
normally that shouldn't matter when remember-me is checked, but for OAuth2 i am not sure that would actually have any effect.
There's a property server.servlet.session.cookie.max-age
but it doesn't get picked up for now in Komga because there's some override of the default behaviour.
I guess I could add support for this property, so if it is defined it would be used. I suppose that would address your concern ?
from komga.
I guess I could add support for this property, so if it is defined it would be used. I suppose that would address your concern ?
Thank you very much, but I don't think this issue is a critical one at the moment. So I think it's okay to wait for the result of spring-projects/spring-security#15078 before taking any action. There's no need to rush to add a temporary solution to Komga. I can try using some cookie management Chrome extensions as a temporary workaround.
from komga.
Related Issues (20)
- Can't edit series metadata HOT 27
- web ui: Find and go to page option for epub. HOT 1
- Search Authors automatically when searching HOT 1
- Sub-title display field for series
- Epub reader to highlight text (to serve as bookmarks) or just bookmark pages
- Search for books with COMMENT
- ePub: Cover support for ePub files generated by older versions of Sigil HOT 1
- Refresh metadata does not update removed metadata from files HOT 1
- Allow read lists to use first/last book as cover image globally
- Allow decimal number usage for StoryArcNumber element in ComicInfo.xml HOT 3
- Add page margins option in the webtoon mode
- Komga doesn't log unauthenticated requests HOT 1
- Komga doesn't log Tomcat errors HOT 2
- files not analyzed on mac HOT 4
- Optional title name parser expression HOT 1
- Deletetion Issue HOT 3
- UpgradeIndex execution failed on every restart HOT 1
- Cannot to run, permission denied HOT 1
- Can't delete unavailable book HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from komga.