immich oauth stopped working
I had to change domains and I had immich oauth setup through authentik. Since I have changed domains I removed oauth config from immich and from authentik but when I tried to setup oauth again in immich by pressing the link oauth button it gives me an error about typescript. If you need anymore infomration please let me know and I will send it. Here is the error logs:
immich_server | [Nest] 17 - 06/05/2025, 11:41:14 PM ERROR [Api:OAuthRepository~552qqs15] Error in OAuth discovery: TypeError: fetch failed
immich_server | [Nest] 17 - 06/05/2025, 11:41:14 PM ERROR [Api:OAuthRepository~552qqs15] TypeError: fetch failed
immich_server | at node:internal/deps/undici/undici:13502:13
immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
immich_server | at async performDiscovery (file:///usr/src/app/node_modules/openid-client/build/index.js:266:16)
immich_server | at async discovery (file:///usr/src/app/node_modules/openid-client/build/index.js:243:16)
immich_server | at async OAuthRepository.getClient (/usr/src/app/dist/repositories/oauth.repository.js:85:20)
immich_server | at async OAuthRepository.authorize (/usr/src/app/dist/repositories/oauth.repository.js:25:24)
immich_server | at async AuthService.authorize (/usr/src/app/dist/services/auth.service.js:165:16)
immich_server | at async OAuthController.startOAuth (/usr/src/app/dist/controllers/oauth.controller.js:36:46)
immich_server | [Nest] 17 - 06/05/2025, 11:41:14 PM ERROR [Api:OAuthRepository~552qqs15] Error in OAuth discovery: TypeError: fetch failed
immich_server | [Nest] 17 - 06/05/2025, 11:41:14 PM ERROR [Api:OAuthRepository~552qqs15] TypeError: fetch failed
immich_server | at node:internal/deps/undici/undici:13502:13
immich_server | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
immich_server | at async performDiscovery (file:///usr/src/app/node_modules/openid-client/build/index.js:266:16)
immich_server | at async discovery (file:///usr/src/app/node_modules/openid-client/build/index.js:243:16)
immich_server | at async OAuthRepository.getClient (/usr/src/app/dist/repositories/oauth.repository.js:85:20)
immich_server | at async OAuthRepository.authorize (/usr/src/app/dist/repositories/oauth.repository.js:25:24)
immich_server | at async AuthService.authorize (/usr/src/app/dist/services/auth.service.js:165:16)
immich_server | at async OAuthController.startOAuth (/usr/src/app/dist/controllers/oauth.controller.js:36:46)