Test the Complete Flow
Test signed-out navigation, invalid credentials, successful credentials login, Google login, session persistence after refresh, sign-out, disallowed users, direct API access without a session, and insufficient roles. Confirm protected APIs return 401 or 403 as appropriate. Check that secrets and tokens never appear in browser bundles or logs.
Key Takeaways
Test direct API calls, not just visible UI.
Verify both providers independently.
Test denied access and sign-out.