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
What you were expecting:
Accessing a list view needing Auth should redirect to login page
What happened instead:
It seems react-router v7 triggers a redirect loop. It is caught at some point and finally redirect to the login page but we can witness the redirect loop for a few seconds.
In #10850, this problem has been addressed for getOne queries.
What you were expecting:
Accessing a list view needing Auth should redirect to login page
What happened instead:
It seems react-router v7 triggers a redirect loop. It is caught at some point and finally redirect to the login page but we can witness the redirect loop for a few seconds.
In #10850, this problem has been addressed for getOne queries.
Steps to reproduce:
Related code:
https://codesandbox.io/p/github/marmelab/react-admin-sandbox/main (v5)
https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple (v5)
https://stackblitz.com/github/marmelab/react-admin/tree/4.x/examples/simple (v4)
Other information:
Environment