Priority: high
Description
Patient Dashboard and Issuer Dashboard are accessible without a connected wallet. Route guards should redirect unauthenticated users to the Landing page.
Acceptance Criteria
- Navigating to
/dashboard without a JWT redirects to /
- Navigating to
/issuer without an issuer-role JWT redirects to /
- Redirect preserves the intended destination for post-login redirect
- Guards re-evaluate when the JWT expires
- No flash of protected content before redirect
Priority: high
Description
Patient Dashboard and Issuer Dashboard are accessible without a connected wallet. Route guards should redirect unauthenticated users to the Landing page.
Acceptance Criteria
/dashboardwithout a JWT redirects to//issuerwithout an issuer-role JWT redirects to/