Redirect users to their intended resource after session expiry re-authentication #2412
keonramses
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
When a user's session exceeds the maximum session length and they attempt to access a resource, they are correctly prompted to re-authenticate. However, after successful re-authentication, users are redirected to the Pangolin dashboard instead of being routed to the resource they were originally trying to access. This requires users to manually navigate back to their intended destination either by re-entering the URL or selecting it from the available resources list.
Motivation
This creates unnecessary friction in the user experience and interrupts workflow. When users are working with specific resources and their session expires, they expect to be returned to their work after re-authenticating, not to a landing page.
Use case this would solve:
This pattern is standard in most authentication systems and aligns with user expectations for session management.
Proposed Solution
Implement a redirect mechanism that preserves the originally requested URL through the authentication flow:
Implementation details:
redirect_uriorreturn_toparameter in the authentication flowAlternatives Considered
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions