Login Mask double shown when using iOS Browser #345

Closed
opened 2025-10-01 15:51:17 -05:00 by giteasync · 4 comments
Owner

Originally created by @kyzsss on GitHub.

Description

When accessing Trilium over a browser on Apple iphone, the login-mask shows twice. You access the webinterface, the login mask shows -> you log in with the correct credentials, then the login mask shows again, you login again and then you are redirected to the trilium homepage. This is a bit annoying... I tried safari, mozilla and edge browsers on iphone 16 pro. I guess that could be an issue with webkit?
I also tried to disable the Trilium authentication and use a reverse proxy in front with basic auth and alternatively with ldap auth - but there's the same issue. Login mask appears twice.
When accessing over Desktop-Browser, everythin is fine and login mask is showing only once.

TriliumNext Version

v.0.93.0

What operating system are you using?

Other (specify below)

What is your setup?

Server access only

Operating System Version

iOS 18.4.1

Error logs

No response

Originally created by @kyzsss on GitHub. ### Description When accessing Trilium over a browser on Apple iphone, the login-mask shows twice. You access the webinterface, the login mask shows -> you log in with the correct credentials, then the login mask shows again, you login again and then you are redirected to the trilium homepage. This is a bit annoying... I tried safari, mozilla and edge browsers on iphone 16 pro. I guess that could be an issue with webkit? I also tried to disable the Trilium authentication and use a reverse proxy in front with basic auth and alternatively with ldap auth - but there's the same issue. Login mask appears twice. When accessing over Desktop-Browser, everythin is fine and login mask is showing only once. ### TriliumNext Version v.0.93.0 ### What operating system are you using? Other (specify below) ### What is your setup? Server access only ### Operating System Version iOS 18.4.1 ### Error logs _No response_
Author
Owner

@eliandoran commented on GitHub:

@kyzsss ,

 " [session-file-store] will retry, error on last attempt: Error: ENOENT: no such file or directory, open '/home/node/trilium-data/sessions/8dZyxxxxxxxxxxxxxxxxxxxx2.json'"

The session management caused issues for quite some time now, but we've re-written it so that it is stored in the database instead. Please upgrade your server to v0.94.1.

@eliandoran commented on GitHub: @kyzsss , ``` " [session-file-store] will retry, error on last attempt: Error: ENOENT: no such file or directory, open '/home/node/trilium-data/sessions/8dZyxxxxxxxxxxxxxxxxxxxx2.json'" ``` The session management caused issues for quite some time now, but we've re-written it so that it is stored in the database instead. Please upgrade your server to v0.94.1.
Author
Owner

@kyzsss commented on GitHub:

Thanks a lot, v0.94.1 solved the issue! Many thanks! 👍

@kyzsss commented on GitHub: Thanks a lot, v0.94.1 solved the issue! Many thanks! 👍
Author
Owner

@perfectra1n commented on GitHub:

Would you be able to share a video or more details about the issue?

@perfectra1n commented on GitHub: Would you be able to share a video or more details about the issue?
Author
Owner

@perfectra1n commented on GitHub:

By login mask, do you mean the login screen? I also use an iPhone on iOS 18 - I'm not presented with the same login screen twice?

@perfectra1n commented on GitHub: By login mask, do you mean the login screen? I also use an iPhone on iOS 18 - I'm not presented with the same login screen twice?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TriliumNext/Trilium#345
No description provided.