Logout is not redirecting to /
Closed this issue ยท 2 comments
user-64bit commented
Hello Hello ๐
Here in video you can see when I click on Logout
it does not redirect me to /
page.
The issue is most probably coming from this lines
I think either using async await
or adding router.push('/')
should solve the issue.
geekyharsh05 commented
@user-64bit It is working on both the landing page and the Spaces section page but in the dashboard i guess it is missing the redirect: true
& router.push("/').
<Button onClick={() => signOut({ callbackUrl: '/', redirect:true });
router.push("/")}}>
Log Out
</Button>
Like this I guess?
@SujithThirumalaisamy Is it right?
SujithThirumalaisamy commented
The app isnt productionized with the latest code base yet. Will do it soon. Its already fixed in the current codebase. Nw