In 1.133.0 I can no longer authenticate with Authelia

Both sides have the token_endpoint_auth_method: 'client_secret_post' set. But when Authelia returns to immich it says failed to finish auth with the following error:
[Nest] 17  - 05/23/2025, 7:48:40 AM   ERROR [Api:OAuthRepository~dweqkoeg] OAuth login failed: server responded with an error in the response body
[Nest] 17  - 05/23/2025, 7:48:40 AM   ERROR [Api:OAuthRepository~dweqkoeg] ResponseBodyError: server responded with an error in the response body
    at checkOAuthBodyError (file:///usr/src/app/node_modules/oauth4webapi/build/index.js:865:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processGenericAccessTokenResponse (file:///usr/src/app/node_modules/oauth4webapi/build/index.js:1141:5)
    at async processAuthorizationCodeOAuth2Response (file:///usr/src/app/node_modules/oauth4webapi/build/index.js:1373:20)
    at async authorizationCodeGrant (file:///usr/src/app/node_modules/openid-client/build/index.js:942:18)
    at async OAuthRepository.getProfile (/usr/src/app/dist/repositories/oauth.repository.js:53:28)
    at async AuthService.callback (/usr/src/app/dist/services/auth.service.js:178:25)
    at async OAuthController.finishOAuth (/usr/src/app/dist/controllers/oauth.controller.js:46:22) {
  cause: {
    error: 'invalid_client',
    error_description: 'Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).'
  },
  code: 'OAUTH_RESPONSE_BODY_ERROR',
  error: 'invalid_client',
  status: 401,
  error_description: 'Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).'


I have verified the client_id and client_secret is correct as well. I am at a loss.
Was this page helpful?