- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.4k
 
Open
Labels
Description
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:
- Preferably, a sandbox forked from
 - A link to a GitHub repo with the minimal codebase to reproduce the issue
 
insert short code snippets here
Other information:
Environment
- React-admin version:
 - Last version that did not exhibit the issue (if applicable):
 - React version:
 - Browser:
 - Stack trace (in case of a JS error):
 
anru