Closed dannymatkovsky closed 3 years ago
According to the official docs
When authProvider.checkError() returns a rejected Promise, react-admin redirects to the /login page, or to the error.redirectTo URL.
But there is no checkError
property in authProvider that I get by authClient(client)
function. It's not even an object
Maybe you can debug it, also check redirectTo (maybe it is not working with default value).
I had wrong Feathers configuration. Sorry. Closing the issue.
React-admin gets the 401 response from Feathers API, but nothing happens, no redirect to login page.
App.js:
React-admin v.3.14.2 Ra-data-feathers v.2.8.1