© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•13mo ago•
22 replies
Spinnich

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)
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Configuring OIDC with environment variables
ImmichIImmich / help-desk-support
9mo ago
Role Claim Authentik
ImmichIImmich / help-desk-support
2mo ago
Connecting to Authentik
ImmichIImmich / help-desk-support
4y ago
Authentik FreeIPA-Setup
ImmichIImmich / help-desk-support
4y ago