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
Bug Description
If you navigate directly to http://localhost/onestop/dashboard and have already signed in previously, the OneStop UI will trigger a redirect instead of showing the dashboard page. This behavior does not happen if you first go to another OneStop page and then click on the "Dashboard" link in the navigation menu.
The above code could add another case incorporating user.isFetching and display a Loading component of some kind until user.isFetching is no longer true.
The text was updated successfully, but these errors were encountered:
Bug Description
If you navigate directly to
http://localhost/onestop/dashboard
and have already signed in previously, the OneStop UI will trigger a redirect instead of showing the dashboard page. This behavior does not happen if you first go to another OneStop page and then click on the "Dashboard" link in the navigation menu.Platform/Environment
Firefox 84, macOS Catalina 10.15.7
Severity
Severity: Low
Priority: Low
To Reproduce
Steps to reproduce the behavior:
onestop-client
andonestop-user
pods./onestop
home page and click on the Login link in the navigation menu, and go through the login process./onestop/dashboard
directly in your browser's top URL bar.Expected Result
It should wait to load the user dashboard since you have already logged in for the current session.
Actual Result
It displays the message "User session expired. Redirecting to the login screen..." and then redirects the user to the login endpoint.
Additional context
I believe the proper fix should be in the
UserDashboard
component, specifically this part:The above code could add another case incorporating
user.isFetching
and display aLoading
component of some kind untiluser.isFetching
is no longer true.The text was updated successfully, but these errors were encountered: