Skip to content
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

Show error message to user, if authProvider login fails #1310

Closed
Laurin-W opened this issue Sep 19, 2024 · 2 comments
Closed

Show error message to user, if authProvider login fails #1310

Laurin-W opened this issue Sep 19, 2024 · 2 comments
Assignees

Comments

@Laurin-W
Copy link
Contributor

Right now, there is nothing shown to the user, when I'm trying to log in using the login component and an error is thrown:
An error is thrown, e.g. here:

throw new Error('auth.message.unreachable_auth_server');

@srosset81
Copy link
Contributor

Probably something to do on the LocalLoginPage component or equivalent, as shown in this example:

https://marmelab.com/react-admin/useLogin.html

@Laurin-W Laurin-W self-assigned this Sep 21, 2024
@Laurin-W
Copy link
Contributor Author

Laurin-W commented Sep 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants