The problem at hand:
I can just simply change the URL and access dashboard or onboarding pages without being authenticated
Expected behavior:
Unauthenticated users accessing a non-auth URL→ Redirected to login page.
Authenticated → Redirected to dashboard
The problem at hand:
I can just simply change the URL and access
dashboardoronboardingpages without being authenticatedExpected behavior:
Unauthenticated users accessing a non-auth URL→ Redirected to login page.
Authenticated → Redirected to dashboard