I was tinkering around with adding Authentik in front of my Immich instance (both setup iva Portainer on the same machine), and I accidentally set the wrong URL for the oauth issuer and logged out to test it. Now, whenever I go to my Immich URL I get stuck on this screen. Before setting up Authentik, I had been using Immich just fine for a few months.
Here's the actual error from the immich_server container:
[Nest] 17 - 07/06/2024, 2:54:54 AM ERROR [Api:AuthService~z5ny3rwf] Error in OAuth discovery: RPError: outgoing request timed out after 30000ms
[Nest] 17 - 07/06/2024, 2:54:54 AM ERROR [Api:AuthService~z5ny3rwf] RPError: outgoing request timed out after 30000ms
at /usr/src/app/node_modules/openid-client/lib/helpers/request.js:140:13
at async Issuer.discover (/usr/src/app/node_modules/openid-client/lib/issuer.js:143:22)
at async AuthService.getOAuthClient (/usr/src/app/dist/services/auth.service.js:249:28)
at async AuthService.authorize (/usr/src/app/dist/services/auth.service.js:141:24)
[Nest] 17 - 07/06/2024, 2:54:54 AM DEBUG [Api:LoggingInterceptor~z5ny3rwf] POST /api/oauth/authorize 201 30005.85ms [ip]
[Nest] 17 - 07/06/2024, 2:54:54 AM DEBUG [Api:HttpExceptionFilter~z5ny3rwf] HttpException(500) {"message":"Error in OAuth discovery: RPError: outgoing request timed out after 30000ms","statusCode":500}
And the error from the web console:
[handleError]: Unable to login with OAuth Error: Error: 500
Immutable 2
de@https://<my_immich_url>/_app/immutable/chunks/fetch-client.vy9D4DHV.js:1:2948
fe@https://<my_immich_url>/_app/immutable/chunks/fetch-client.vy9D4DHV.js:1:2872
Is there a way I can edit the oauth URL from inside one of the containers? I tried looking through the tables in the immich_database container but nothing stood out to me. My setup is basically verbatim what is described in https://immich.app/docs/install/portainer.
.