-
Notifications
You must be signed in to change notification settings - Fork 24
Issues confirming emails #16
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
Comments
thanks for the report. i've never seen that error before. it must come from lower down the stack. any thoughts on how to repro? |
Cheers for the reply! I managed to track down where this error is getting thrown here: https://github.com/netlify/gotrue/blob/master/api/hooks.go#L137 That said tho, I tried to repro it with a fresh netlify site and I can't seem to reproduce it, so it seems like it's an issue with the specific instance I'm trying to run it against. I'll try my code against a fresh site later and see if I run into the same issue. |
It seems to have become resolved on the original site I was having trouble with. I'm not totally sure what happened there but at least we know it wasn't an issue with this library, and it works so 🙌 |
weiiird cheers prs and docs welcome if you felt anything could be better of course. this is just something i'm doing on the side and doesnt get as much love as it ought to |
I think I've discovered the core of the problem! It was very much a me problem. I had a serverless function So because that function was broken it was causing identity to break entirely when trying to singup and confirm emails. |
ah. btw we recently added netlify/netlify-dev-plugin#213 which helps with local test and development of serverless functions. havent done much publicity or stress testing yet but see if it helps you catch these sooner (in particular, intentionally write a broken function and then run |
I had the same "failed to handle signup webhook" error message suddenly appearing. It was after I had started messing with the identity-signup webhook. I added that function in my app, then deleted it, and that's when I started getting the error. I put the function back and now signupUser works again. Just throwing this in here in case it helps someone else out. |
file a new issue if it could be better, im not particularly working on this right now but i’ll take pr’s and repro cases |
As far as I understand it the hook handles email confirmation by default and it appears to be trying to but failing.
From what I can tell
runRoutes
correctly identifies the confirmation route and callsgotrue.confirm
but somewhere within that call an error occurs.The error logged is
Error in confirm call JSONHTTPError: Failed to handle signup webhook
.The text was updated successfully, but these errors were encountered: