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 when we reject a login #22

Open
david-crespo opened this issue Aug 25, 2023 · 1 comment
Open

Show error when we reject a login #22

david-crespo opened this issue Aug 25, 2023 · 1 comment

Comments

@david-crespo
Copy link
Contributor

david-crespo commented Aug 25, 2023

Right now we just land the user back on login if we reject them. Everyone else gets dumped back on login with no message, which is very confusing.

@david-crespo david-crespo changed the title Show error when we reject logins Show error when we reject a login Aug 25, 2023
@benjaminleonard
Copy link
Collaborator

Looks like there's an easy way to handle this with throwOnError in the route action and a CatchBoundary

https://github.com/sergiodxa/remix-auth#errors-handling

@benjaminleonard benjaminleonard transferred this issue from another repository Mar 11, 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