ImmichI
Immich8mo ago
Marvin

OAuth + Authentik "Unsupported Operation" Error

Hello,
I am currently setting up OAuth for Immich with Authentik. I followed the guide from Authentik:
https://docs.goauthentik.io/integrations/services/immich/

Authentik logs the successful authentication.

However, the UI prints "Failed to finish oauth" and the logs state the following:

[Nest] 17  - 05/03/2025, 8:42:52 AM   DEBUG [Api:GlobalExceptionFilter~syzo7lua] HttpException(500): {"message":"Failed to finish oauth","error":"Internal Server Error","statusCode":500}
        at async OAuthController.finishOAuth (/usr/src/app/dist/controllers/oauth.controller.js:46:22)
        at async AuthService.callback (/usr/src/app/dist/services/auth.service.js:137:25)
        at async OAuthRepository.getProfile (/usr/src/app/dist/repositories/oauth.repository.js:52:28)
        at process.processTicksAndRejections (node:internal/process/:105:5)
    [Nest] 17  - 05/03/2025, 8:42:52 AM VERBOSE [Api:LoggingInterceptor~syzo7lua] {"url":"https://immich.home.marvin-fuchs.de/auth/login?code=8595ed16887140bb89a0bd59537cd17f&state=y_eplIWOXC9CMBTQGZJMLxsdZXK6Q2aT8viAp-KKaxM"}
    [Nest] 17  - 05/03/2025, 8:42:52 AM   DEBUG [Api:LoggingInterceptor~syzo7lua] POST /api/oauth/callback 201 591.42ms 10.0.0.20
        at authorizationCodeGrant (file:///usr/src/app/node_modules/openid-client/build/index.js:861:9)
        at errorHandler (file:///usr/src/app/node_modules/openid-client/build/index.js:151:15)
        at e (file:///usr/src/app/node_modules/openid-client/build/index.js:116:12)
    ClientError: unsupported operation
    [Nest] 17  - 05/03/2025, 8:42:52 AM   ERROR [Api:ErrorInterceptor~syzo7lua] Unknown error: ClientError: unsupported operation


I attached the OAuth configuration.

Do you have any Idea what this "unsupported operation" could mean?
image.png
Was this page helpful?