You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
There have been a couple people who have had their production app leak sessions due to misconfiguration of their middleware. We should add next-auth to our E2E suite as a standard/template so users don't accidentally make this crucial mistake.
Tasks
Add next-auth to E2E app
Generate JWT for test users
Add test case to log in and out
Add test case with 2 users to verify that session is not leaked
Update docs with link to example and WARN users not to cache their SSR
Playwright cookies - injecting the mock JWT token to the test context:
Summary
There have been a couple people who have had their production app leak sessions due to misconfiguration of their middleware. We should add
next-auth
to ourE2E
suite as a standard/template so users don't accidentally make this crucial mistake.Tasks
next-auth
toE2E
appPlaywright cookies - injecting the mock JWT token to the test context:
The text was updated successfully, but these errors were encountered: