ImmichI
Immich14mo ago
PJ

failed to link oauth account immich server error

Trying to setup oauth (authentik) with immich but running into the error above. Logs say the following:

Unknown error: RPError: failed to decode JWT (TypeError: encrypted JWTs cannot be decoded)
RPError: failed to decode JWT (TypeError: encrypted JWTs cannot be decoded)
    at Client.validateJWT (/app/immich/server/node_modules/openid-client/lib/client.js:931:13)
    at Client.validateIdToken (/app/immich/server/node_modules/openid-client/lib/client.js:793:60)
    at Client.callback (/app/immich/server/node_modules/openid-client/lib/client.js:532:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async OAuthRepository.getProfile (/app/immich/server/dist/repositories/oauth.repository.js:45:28)
    at async AuthService.link (/app/immich/server/dist/services/auth.service.js:181:34)

I followed this guide: https://immich.app/docs/administration/oauth/

Running: Unraid
Was this page helpful?