Unable to log in with a second-level domain #4614

Closed
opened 2026-02-05 10:44:12 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @unhighghlow on GitHub (Oct 22, 2024).

The bug

The login button infinitely spins when trying to log in when using a second level domain (e.g. sub.domain.tld)

The OS that Immich Server is running on

NixOS Unstable

Version of Immich Server

v1.118.1

Version of Immich Mobile App

none

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

none

Your .env content

none

Reproduction steps

  1. Set up an immich server
  2. Point theserver.org and immich.theserver.org to the server's ip using /etc/hosts
  3. Set up the admin account (works on both domains)
  4. Log in on theserver.org (success)
  5. Log in on immich.theserver.org (infinite spin, failure)

Relevant log output

No response

Additional information

I was unable to test this on mobile, since I don't have access to the hosts file there

Originally created by @unhighghlow on GitHub (Oct 22, 2024). ### The bug The login button infinitely spins when trying to log in when using a second level domain (e.g. `sub.domain.tld`) ### The OS that Immich Server is running on NixOS Unstable ### Version of Immich Server v1.118.1 ### Version of Immich Mobile App none ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML none ``` ### Your .env content ```Shell none ``` ### Reproduction steps 1. Set up an immich server 2. Point `theserver.org` and `immich.theserver.org` to the server's ip using /etc/hosts 3. Set up the admin account (works on both domains) 4. Log in on `theserver.org` (success) 5. Log in on `immich.theserver.org` (infinite spin, failure) ### Relevant log output _No response_ ### Additional information I was unable to test this on mobile, since I don't have access to the hosts file there
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#4614