You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use social login providers for login functionality on my page. If everything works fine on Strapi side, there’s also no problem on Nuxt side. But, I have an use case, in which a user can’t log in with a different login provider if he already used some other one. In six a case Strapi throws an error Email already taken, which then gets swallowed by Nuxt module (this plugin) and mapped to 500 with a generic error message, so it’s impossible to track down the original cause of the error to provide the user some meaningful output.
Is there some way to propagate such errors and handle them in Nuxt app?
I use @nuxtjs/strapi 1.9.0 with nuxt 3.3.3.
The text was updated successfully, but these errors were encountered:
I use social login providers for login functionality on my page. If everything works fine on Strapi side, there’s also no problem on Nuxt side. But, I have an use case, in which a user can’t log in with a different login provider if he already used some other one. In six a case Strapi throws an error
Email already taken
, which then gets swallowed by Nuxt module (this plugin) and mapped to 500 with a generic error message, so it’s impossible to track down the original cause of the error to provide the user some meaningful output.Is there some way to propagate such errors and handle them in Nuxt app?
I use
@nuxtjs/strapi 1.9.0
withnuxt 3.3.3
.The text was updated successfully, but these errors were encountered: