Route to login
Function: Route to login
This action helps you guide your users to the login page of your application. It's a straightforward way to ensure that users who need to authenticate or re-authenticate are directed to the correct place.
Input,
This action does not require any specific inputs.
Output,
This action does not produce any direct output that can be used in subsequent steps. Its effect is a direct navigation within the user's browser.
Execution Flow,
Real-Life Examples,
Here are a few scenarios where you might use the "Route to login" action:
-
Example: Session Timeout
- Inputs: None
- Result: If a user's session expires due to inactivity, this action can automatically redirect them to the login page, prompting them to re-authenticate and regain access to the application.
-
Example: Access Denied for Protected Content
- Inputs: None
- Result: When an unauthenticated user attempts to access a page or feature that requires a login, this action can be triggered to send them to the login page, explaining that they need to sign in to proceed.
-
Example: Manual Logout Confirmation
- Inputs: None
- Result: After a user explicitly clicks a "Logout" button, this action can be used as part of the logout process to ensure they are returned to the login screen, ready for a new session or another user to log in.