I'm having an issue when implementing the Email/Password authentication. When using the signup method, and for example the user is already registered or the fields are not filled. I'm getting this in the response, which is not explaining anything about the error:
This is the actual use of signup in the embedded files:
And I think it might be something about the H3Error handling inside Nuxt. I don't get what's the issue. But I got to a probably solution, and it's in this code:
Using a way to extend the H3Error class and making a constructor to introduce the message the way it's needed. I don't know if this is suitable for you, so maybe I can push it as a request. When I do this, this is the response I get:
I'm having an issue when implementing the Email/Password authentication. When using the signup method, and for example the user is already registered or the fields are not filled. I'm getting this in the response, which is not explaining anything about the error:
This is the actual use of signup in the embedded files:
And I think it might be something about the H3Error handling inside Nuxt. I don't get what's the issue. But I got to a probably solution, and it's in this code:
Using a way to extend the H3Error class and making a constructor to introduce the message the way it's needed. I don't know if this is suitable for you, so maybe I can push it as a request. When I do this, this is the response I get: