[GH-ISSUE #785] Login troubles when logging in via a different domain #476

Closed
opened 2026-02-25 21:35:07 +03:00 by kerem · 4 comments
Owner

Originally created by @OddSquirrel on GitHub (Oct 6, 2023).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/785

💬 Question

Hi guys,

So, I do have a few laptops that I use interchangeably. I'd like to keep tabs on my emails on all of them, but it just isn't worth installing a fat client on every single one. Cypht to the rescue. I put it behind nginx and have no problem opening the URL whenever I please.

It's located on one of my domains, let's say cypht.domain-a.xyz. I played with the cookie settings because I don't want to log in every single time I open it. So I activated long cookie times. Funnily enough, when I put that exact same link onto my Heimdall dashboard @ dashboard.domain-b.xyz, it will ask me for my login and password every single time, even if I check 'remember me'.

I have a feeling this happens because I go from domain-a to domain-b because it works just fine, when I open Heimdall via its local IP and visit cypht.domain-a.xyz from there.

Adding CYPHT_DISABLE_FINGERPRINT=true to my environment variables didn't help. There's also CYPHT_COOKIE_DOMAIN, but the documentation doesn't give me an idea what exactly I should put in there. I tried a few variants, but none of them made a difference.

Does anybody have an idea how I could possibly get around that?

N.B.: I run Cypht in a Docker environment via Portainer and Heimdall is a great personal dashboard for browsers that runs on Docker as well.

Originally created by @OddSquirrel on GitHub (Oct 6, 2023). Original GitHub issue: https://github.com/cypht-org/cypht/issues/785 ## 💬 Question Hi guys, So, I do have a few laptops that I use interchangeably. I'd like to keep tabs on my emails on all of them, but it just isn't worth installing a fat client on every single one. Cypht to the rescue. I put it behind nginx and have no problem opening the URL whenever I please. It's located on one of my domains, let's say `cypht.domain-a.xyz`. I played with the cookie settings because I don't want to log in every single time I open it. So I activated long cookie times. Funnily enough, when I put that exact same link onto my Heimdall dashboard @ `dashboard.domain-b.xyz`, it will ask me for my login and password every single time, even if I check 'remember me'. I have a feeling this happens because I go from domain-a to domain-b because it works just fine, when I open Heimdall via its local IP and visit `cypht.domain-a.xyz` from there. Adding `CYPHT_DISABLE_FINGERPRINT=true` to my environment variables didn't help. There's also `CYPHT_COOKIE_DOMAIN`, but the documentation doesn't give me an idea what exactly I should put in there. I tried a few variants, but none of them made a difference. Does anybody have an idea how I could possibly get around that? N.B.: I run Cypht in a Docker environment via Portainer and [Heimdall](https://github.com/linuxserver/Heimdall) is a great personal dashboard for browsers that runs on Docker as well.
Author
Owner

@marclaporte commented on GitHub (Nov 4, 2023):

@OddSquirrel If you can provide SSH access to an environment demonstrating the issue, I can assign a dev to dive in.

<!-- gh-comment-id:1793551186 --> @marclaporte commented on GitHub (Nov 4, 2023): @OddSquirrel If you can provide SSH access to an environment demonstrating the issue, I can assign a dev to dive in.
Author
Owner

@marclaporte commented on GitHub (May 6, 2024):

@OddSquirrel please

<!-- gh-comment-id:2096623667 --> @marclaporte commented on GitHub (May 6, 2024): @OddSquirrel please
Author
Owner

@marclaporte commented on GitHub (Sep 28, 2024):

@OddSquirrel last call :-)

<!-- gh-comment-id:2380399530 --> @marclaporte commented on GitHub (Sep 28, 2024): @OddSquirrel last call :-)
Author
Owner

@marclaporte commented on GitHub (Jul 7, 2025):

Closing. @OddSquirrel Please re-open when you can provide access so devs can see the issue. We don't need a production environment. Just a test install to see the issue so we can debug.

<!-- gh-comment-id:3044841116 --> @marclaporte commented on GitHub (Jul 7, 2025): Closing. @OddSquirrel Please re-open when you can provide access so devs can see the issue. We don't need a production environment. Just a test install to see the issue so we can debug.
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/cypht#476
No description provided.