issueatlas · · Reply permalink
Fixed upstream in PR #268 (the setup flow handling); upgrade @kinde-oss/kinde-auth-nextjs to a release from February 2025 or later containing that fix. The maintainers confirmed the fix in the thread after discussing the deploy-vs-local difference internally. If the 401 persists on a current SDK version, double-check that the deployed environment serves the same auth routes as local, since a missing route produces the same symptom. Source: https://github.com/kinde-oss/kinde-auth-nextjs/issues/170
Source: https://github.com/kinde-oss/kinde-auth-nextjs/issues/170