© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•3y ago•
3 replies
darookee

Cannot login on mobile app after upgrade using new device

After upgrading the stack to v1.72.2 I can't login using the app (on a new phone). I get a popup containing html after entering the immich URL (screenshot attached).

I found the following:

- when clicking the button a request is made to
/oauth/config
/oauth/config

- this returns a 500 error code
- calling the uri from inside immich-proxy yields the correct response

treafik log (IP and port are correct)

traefik      | 172.16.55.2 - - [09/Aug/2023:13:11:38 +0000] "POST /oauth/config HTTP/1.1" 404 7120 "-" "-" 2948010 "websecure-immich@file" "http://10.66.0.2:2283" 14ms
traefik      | 172.19.0.1 - - [09/Aug/2023:13:11:45 +0000] "GET / HTTP/1.1" 302 0 "-" "-" 2948019 "websecure-immich@file" "http://10.66.0.2:2283" 25ms
traefik      | 172.19.0.1 - - [09/Aug/2023:13:11:45 +0000] "GET /auth/login HTTP/1.1" 200 15683 "-" "-" 2948021 "websecure-immich@file" "http://10.66.0.2:2283" 18ms
traefik      | 172.16.55.2 - - [09/Aug/2023:13:11:38 +0000] "POST /oauth/config HTTP/1.1" 404 7120 "-" "-" 2948010 "websecure-immich@file" "http://10.66.0.2:2283" 14ms
traefik      | 172.19.0.1 - - [09/Aug/2023:13:11:45 +0000] "GET / HTTP/1.1" 302 0 "-" "-" 2948019 "websecure-immich@file" "http://10.66.0.2:2283" 25ms
traefik      | 172.19.0.1 - - [09/Aug/2023:13:11:45 +0000] "GET /auth/login HTTP/1.1" 200 15683 "-" "-" 2948021 "websecure-immich@file" "http://10.66.0.2:2283" 18ms


curl from inside immich-proxy

curl -X POST -d '{"redirectUri": "https://immich.my.local.domain/"}' http://immich-server:3001/oauth/config --header "Content-Type: application/json"

{"enabled":false,"passwordLoginEnabled":true}
curl -X POST -d '{"redirectUri": "https://immich.my.local.domain/"}' http://immich-server:3001/oauth/config --header "Content-Type: application/json"

{"enabled":false,"passwordLoginEnabled":true}


Error message when caloing the route from the traefik containet (stripped the surrounding html)

error: {message:"Not found: /oauth/config",code:"500",stack:"Error: Not found: /oauth/config\n    at resolve (file:///usr/src/app/build/server/index.js:3953:18)\n    at resolve (file:///usr/src/app/build/server/index.js:3787:34)\n    at Object.handle (file:///usr/src/app/build/server/chunks/hooks.server-86962aff.js:21:21)\n    at respond (file:///usr/src/app/build/server/index.js:3785:43)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"},
error: {message:"Not found: /oauth/config",code:"500",stack:"Error: Not found: /oauth/config\n    at resolve (file:///usr/src/app/build/server/index.js:3953:18)\n    at resolve (file:///usr/src/app/build/server/index.js:3787:34)\n    at Object.handle (file:///usr/src/app/build/server/chunks/hooks.server-86962aff.js:21:21)\n    at respond (file:///usr/src/app/build/server/index.js:3785:43)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"},


Using a browser works without any problem.

My docker-compose.yml is the default one (just added pathes for media storage) and the .env is as well. Already checked them for updated lines, but only thr hwaccell comments were missing from the one I use.
Screenshot_20230809-105452.png
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Cannot login on mobile app using Google OAuth at family link device
ImmichIImmich / help-desk-support
11mo ago
Cannot login using app
ImmichIImmich / help-desk-support
15mo ago
Cannot Login - new install on TrueNas - all updated / configured but cannot login to the app
ImmichIImmich / help-desk-support
2mo ago
Android App login Bug on one specific device
ImmichIImmich / help-desk-support
3y ago