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

Auth UI and OAuth: show auth errors on screen #1817

Closed
Martinsos opened this issue Feb 26, 2024 · 1 comment
Closed

Auth UI and OAuth: show auth errors on screen #1817

Martinsos opened this issue Feb 26, 2024 · 1 comment
Labels
auth bug Something isn't working

Comments

@Martinsos
Copy link
Member

Martinsos commented Feb 26, 2024

Note

This will be closed by #1851

We had the case (in wasp 0.12) where:

  1. User has email field with unique constraint. It is a field we set with email via userSignupFields on successful signup.
  2. I sign up with Google, with email address E.
  3. I try to sign up with Github, with same email address E, but it just returns me to login.
    I get following errors in the console:
    image

Instead, I would expect that some kind of nice error is shown on the screen. I am guessing error gets thrown in userSignupFields -> well, actually as a result of executing the setters/gettters defined there -> but it doesn't get displayed by Auth UI for some reason.

@Martinsos Martinsos added bug Something isn't working auth labels Feb 26, 2024
@sodic sodic removed the post-0.12.0 label Mar 6, 2024
@infomiho infomiho changed the title Auth UI: show auth errors on screen Auth UI and OAuth: show auth errors on screen Mar 11, 2024
@infomiho
Copy link
Contributor

Done in #1851

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants