Describe the bug
Using useAuth with ensureSignedIn throws CORS errors when user is not authenticated
To Reproduce
const { loading, user } = useAuth({ ensureSignedIn: true });
Expected behavior
Not Authenticated is redirected to the sign in page
Desktop (please complete the following information):
- OS: MacOS
- Browser Chrome
- authkit-nextjs version 2.15.0
- Next.js version 16.1.6