fedeya / next-auth-sanity

NextAuth Adapter and Provider for Sanity
https://sanity.io/plugins/next-auth-sanity
MIT License
76 stars 21 forks source link

Unhandled Runtime Error on SignUp function #70

Open MokDevelopment opened 5 months ago

MokDevelopment commented 5 months ago

The SignUp function does throw a runtime error when an email already exists when using credentials. The SignIn returns a nice object with ok status and message. Can we some return Sanitys server return message? (see image)

image image