NextAuth + Authetik gives me "unexpected HTTP status code"
I just want to integrate Authentik and NextAuth returns this error: "[auth][error] OperationProcessingError: "response" is not a conform Authorization Server Metadata response (unexpected HTTP status code)" and idk where I can find the response body. Can I somehow log it. New to NextJS :)
1 Reply
This solved it for me:
AUTH_AUTHENTIK_ISSUER="https://example.tld/application/o/[APPLICATION]/"
AUTH_AUTHENTIK_WELLKNOWN="https://example.tld/application/o/[APPLICATION]/.well-known/openid-configuration"