-
Notifications
You must be signed in to change notification settings - Fork 557
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
Stack overflow error in lock.js when signing up with user/password #912
Comments
@NiXXeD without some info to reproduce the issue it will be near to impossible to fix. We need a sample to debug or info necessary to build one like how you are instantiating lock and the parameters you supply. |
Here are some bits, modified slightly to remove any specific details. We're roughly instantiating and wrapping it as a promise to deal with elsewhere.
I'm not sure how much else you'd need/want. I've tried a whole bunch of things, but I don't see what could be causing it. I assume based on what that |
The function is in auth0.js not in Lock and is mostly used to normalize request params thats why it was important to see your options object but looks normal. Also I doubt I'd be able to reproduce it with this snippet, since it highly possible something beyond it is contributing to the issue, but we'll give it a try. |
I'm working on getting it up into our dev environment so I can provide a URL for you to test our exact deployment. Is there a place we can chat outside of this issue (email? slack?) that I can provide this info or answer any other questions you might have? |
You can submit a ticket to https://support.auth0.com and send the info there and post the ticket number here |
Ticket number #21108 |
I came across this same issue today. From what I could gather, |
(Per the suggestion in that PR) Reverting to 10.8.1 does fix the issue for me. I will keep an eye on this issue to know when I can upgrade further. Thanks @maxbeatty! |
Code snippet or sample project that reproduces the bug
Not sure which code would be helpful, but I can potentially provide some.
Screenshots when appropriate
Lock version
10.12.3 (though I tried many versions 10.x+)
Browser & OS
Chrome 56.0.2924.87 (64-bit)
Firefox 52.0 (64-bit)
Safari 10.0.3 (12602.4.8)
MacOS 10.12.3 (16D32)
More info:
Some background, we were just updating from Lock 9.x to 10.x. Everything mostly working except signup with user/password. The error being provided, if related to our configuration, is very unclear. I tried a bunch of versions of 10.x, even went back as far as 10.4, but it appears going that far back made other things not work.
The error from Chrome dev console is in the screenshot above. Firefox doesn't handle it as gracefully, and mostly hangs until it shows a message asking you if you want to close the tab. Safari just hangs.
The error appears to be related to a
toSnakeCase
function recursing too much. I can't tell based on the error if we configured something incorrectly, but the rest of things seem to work just fine.Either way, if we did configure this incorrectly, failing this way is probably a bug.
The text was updated successfully, but these errors were encountered: