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
Store the current URL before redirecting the user to login.
Append this URL as a query param.
After authentication, retrieve and redirect the user to the stored URL.
Why should this be worked on?
Users expect to return to the page they were trying to access after logging in. Losing their intended destination creates frustration and disrupts their workflow.
Without this fix, users may need to manually navigate back to their desired page after logging in, adding unnecessary steps.
If a user’s session expires while they’re on a protected page, they should be able to log in and seamlessly continue where they left off.
The text was updated successfully, but these errors were encountered:
## Description
## Description
Added redirect URL on user logout
Fixes#38933
## Automation
/ok-to-test tags="@tag.Sanity"
### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13369328042>
> Commit: 5b4bbe9
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13369328042&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Mon, 17 Feb 2025 12:14:39 UTC
<!-- end of auto-generated comment: Cypress test results -->
## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Users are now automatically redirected to the login page after logout
for a smoother navigation experience.
- **Refactor**
- Simplified the logout request process to consistently use the "POST"
method, enhancing reliability.
- Streamlined the interception logic for logout API calls, improving
overall consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Albin <[email protected]>
(cherry picked from commit e4ed590)
Is there an existing issue for this?
Summary
Why should this be worked on?
The text was updated successfully, but these errors were encountered: