No page refresh after sign in or sign out?

I have created a simple Next.js application

  • I use sign (with email/password) with a server action that creates a cookie (from auth.ts)
  • I use sign out with a client action (from auth_client.ts)
Whenever I sign in or sign out, I need to manually refresh the page to see the changes. Is it normal?
How can I go around it? initiate a refresh manually?
Was this page helpful?