I ran npm create convex@latest , chose NextJS and setup standard convex auth. Tested and the auth is working fine. The only issue is the SignOut doesn't actually redirect you back to sign in. If you look at the @convex-dev/auth/dist/react/client.js inside AuthProvider the const for SignOut doesn't seem to be doing any redirecting.
const signOut = useCallback(async () => {
try {
await client.authenticatedCall("auth:signOut");
}
catch (error) {
// Ignore any errors, they are usually caused by being
// already signed out, which is ok.
}
logVerbose(`signed out, erasing tokens`);
await setToken({ shouldStore: true, tokens: null });
}, [setToken, client]);
Does anybody know if I am missing something or if there is a good fix?