Session Reset for Abandoned Auth Flows
Overview
This feature aims to reset the authentication flow when a user abandons it and then attempts to log in again.
Behavior
Scenarios
* User Abandons Flow and Retries Immediately
+ Given: User clicks "Sign Up" / "Sign In" and redirects to Auth0 page
+ And: They close the browser tab without entering credentials and finishing the flow
+ When: They open the SI Tickets app again and click "Sign Up" / "Sign In"
+ Then: The system initiates a new authentication transaction, and the user sees the Login/Sign-Up page clearly
* User Abandons Flow and Retries After Timeout
+ Given: User stays on the Auth0 login page for 30 minutes (timeout)
+ When: They finally attempt to enter their password
+ Then: Auth0 may show a timeout error (Standard behavior)
+ But: When they return to SI Tickets and click "Sign In" again, the flow resets completely and works immediately