-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid JWT: No re-login #173
Comments
Maybe you can debug ra-data-feathers and check where to force to redirect to login in this case. Can you make on PR? Anyway it is not an usual use case, because we already support reauthentication for other similar cases. |
@josx: While further debugging this issue I notice that the same message |
Maybe you can debug a little more to realize if we can discriminate a network error or a login error, and how to do it. |
@josx: Alright, the following is logged to JavaScript console when auth fails (FeathersJS restart / JWT invalid):
The network tab shows a failed request to API, the response tab only shows an error: The same with development builds ( |
When the FeathersJS app users table is changed and the app restarted (e.g. for development),
so the originally logged in user doesn't exist anymore,
react-admin
doesn't return to the login screen.Instead it shows the error message/toast:
Please login to continue
.The
/authentication
response (from FeathersJS):No record found [...]
.The text was updated successfully, but these errors were encountered: