Hopeless XI
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
Can you read through the code and see if i am making some mistake? I am not sure why my "signin if block" is not being triggered instead it keeps going to the last line of catch block "throw error" ?
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
Can you create a new convex auth project and test my authorise code? you can debug the issue faster.
Default project already comes with sign in just have to add authorise and console log in react?
Convex Error is not being sent to frontend
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
Yeah please take a look whenever free and let me know i am stuck 😕 🙏
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
I even asked ai on docs but it saus there r some issues and it lead me to this discord channel page
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
I did try but that didnt work.
The errors r not friendly.
I want to show invalid credentials error for any wrong password user types but validate and show password invalid message on sign up as well as show user already exists error in case.
Not sure how to build proper error handling system on convex
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
I want to show the different user friendly error messages based on sign in or sign up? How can i do it??
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
code
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
Not using next.js. Just vite + react + convex
"@auth/core": "0.37.0",
"@convex-dev/auth": "^0.0.81",
"convex": "^1.23.0",
"react": "^19.0.0",
--
Error i get in terminal: [CONVEX A(auth:authSignIn)] Uncaught Error: InvalidAccountId ....
I know error is for user not found. I gett similar errors for different edge cases.
--
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
No not next js. React + convex latest version
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
I tried that but i still dont get custom errors rather strange long errors from convex. Do you have any working examples with custom error messages for sign in and sign up
66 replies
CCConvex Community
•Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
Hello i am new to Convex Dev and first thing i tried Convex Auth. I tried Password and ConvexCredentials but it doesn't give out user friendly errors. Has this issue fixed? It was bad experience for me as a new Convex Developer to face this issue as auth is very common thing? Please tell me how to fix the issues - I tried custom signIn using actionGeneric as well as created my custom ConvexCredentials but it doesnt show the Convex Error message I want it show. Am i missing something from the docs?
Man I had high hopes from convex but it is failing with simple auth issues? Good think I worked on auth before doing other things as it would have led to disappointment later on.
P.S I am not againt Covex and I have high hopes but please tell me how to show custom error messages for login and sign up with various edge cases.
66 replies