I
Immich2y ago
Bit

[BUG] oauth broke password auth

error on server app:
[Nest] 7 - 10/22/2023, 8:22:49 PM ERROR [ExceptionsHandler] expected 200 OK, got: 502 Bad Gateway
OPError: expected 200 OK, got: 502 Bad Gateway
at processResponse (/usr/src/app/node_modules/openid-client/lib/helpers/process_response.js:41:11)
at Issuer.discover (/usr/src/app/node_modules/openid-client/lib/issuer.js:152:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AuthService.getOAuthClient (/usr/src/app/dist/domain/auth/auth.service.js:240:24)
at async AuthService.generateConfig (/usr/src/app/dist/domain/auth/auth.service.js:141:22)
at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
[Nest] 7 - 10/22/2023, 8:22:49 PM ERROR [ExceptionsHandler] expected 200 OK, got: 502 Bad Gateway
OPError: expected 200 OK, got: 502 Bad Gateway
at processResponse (/usr/src/app/node_modules/openid-client/lib/helpers/process_response.js:41:11)
at Issuer.discover (/usr/src/app/node_modules/openid-client/lib/issuer.js:152:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async AuthService.getOAuthClient (/usr/src/app/dist/domain/auth/auth.service.js:240:24)
at async AuthService.generateConfig (/usr/src/app/dist/domain/auth/auth.service.js:141:22)
at async /usr/src/app/node_modules/@nestjs/core/router/router-execution-context.js:46:28
at async /usr/src/app/node_modules/@nestjs/core/router/router-proxy.js:9:17
server version: v1.82.1 android app version: v1.82.0 --- After disable oauth password auth start working.
No description
2 Replies
Deemo
Deemo2y ago
I had same issue earlier with google oath but now working Background: At the time when immich oath wasn't working I messed up my macs mdns service (I unloaded it inorder to try to run adguard home which broke all dns resolution on my mac) Additionally I may have restarted docker at one point without docker compose down prior to restarting docker desktop (I'm not sure how much this affects immich) Once both of these issues resolved oath fixed on my end more precicley I ran sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist at the time and just left mdns unloaded

Did you find this page helpful?