Configuring Authentik OIDC
Getting the following error after configuring Authentik authentication as per the wiki. I don't really have any idea what it's trying to tell me.
[Nest] 216 - 01/30/2025, 1:04:05 PM ERROR [Api:OAuthRepository~vv7kzb3j] Error in OAuth discovery: SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
[Nest] 216 - 01/30/2025, 1:04:05 PM ERROR [Api:OAuthRepository~vv7kzb3j] SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
at JSON.parse (<anonymous>)
at IncomingMessage.get (/app/immich/server/node_modules/openid-client/lib/helpers/request.js:156:30)
at processResponse (/app/immich/server/node_modules/openid-client/lib/helpers/process_response.js:55:25)
at Issuer.discover (/app/immich/server/node_modules/openid-client/lib/issuer.js:152:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async OAuthRepository.getClient (/app/immich/server/dist/repositories/oauth.repository.js:57:28)
at async OAuthRepository.authorize (/app/immich/server/dist/repositories/oauth.repository.js:27:24)
at async AuthService.authorize (/app/immich/server/dist/services/auth.service.js:131:21)
[Nest] 216 - 01/30/2025, 1:04:05 PM ERROR [Api:OAuthRepository~vv7kzb3j] Error in OAuth discovery: SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
[Nest] 216 - 01/30/2025, 1:04:05 PM ERROR [Api:OAuthRepository~vv7kzb3j] SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
at JSON.parse (<anonymous>)
at IncomingMessage.get (/app/immich/server/node_modules/openid-client/lib/helpers/request.js:156:30)
at processResponse (/app/immich/server/node_modules/openid-client/lib/helpers/process_response.js:55:25)
at Issuer.discover (/app/immich/server/node_modules/openid-client/lib/issuer.js:152:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async OAuthRepository.getClient (/app/immich/server/dist/repositories/oauth.repository.js:57:28)
at async OAuthRepository.authorize (/app/immich/server/dist/repositories/oauth.repository.js:27:24)
at async AuthService.authorize (/app/immich/server/dist/services/auth.service.js:131:21)



