Skip to content
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

[v10.4.0] Cannot read property 'get' of undefined. #658

Closed
maris-jurgenbergs opened this issue Oct 20, 2016 · 2 comments
Closed

[v10.4.0] Cannot read property 'get' of undefined. #658

maris-jurgenbergs opened this issue Oct 20, 2016 · 2 comments
Milestone

Comments

@maris-jurgenbergs
Copy link

maris-jurgenbergs commented Oct 20, 2016

Hi,

Was investigating new auth0 lock, but no validation effects are showing. For example when i click "log in" button, the email field does not highlight. I checked the browser console and found out, that every time i try to log in i get an javascript error: "Cannot read property 'get' of undefined"

My auth0 client in auth0 mangement portal has been configured to use only enterprise connections of type: Azure Ad, ADFS and LDAP.

Example can be reproduced on the sample project (ASP.NET) provided by Auth0.

Lock version: 10.4.0
OS: Windows 10 Enteprise 64 bit
Browser/Version: Chrome 53.0.2785.143

Step 1 - click "LOG IN >":
image
Step 1 - alternative with wrong email entered and click "LOG IN >":
image

Step 2 - check browser console:
image
Note: I did not configure CORS on the sample project, because it does not affect the error.

Error stacktrace on unminimized version of lock.js:
Uncaught TypeError: Cannot read property 'get' of undefined
logInActiveFlow @ lock.js:37100
logIn @ lock.js:37090
(anonymous function) @ lock.js:37681
handleSubmit @ lock.js:42630
invokeGuardedCallback @ lock.js:25372
executeDispatch @ lock.js:16989
executeDispatchesInOrder @ lock.js:17012
executeDispatchesAndRelease @ lock.js:16444
executeDispatchesAndReleaseTopLevel @ lock.js:16455
forEachAccumulated @ lock.js:32323
processEventQueue @ lock.js:16631
runEventQueueInBatch @ lock.js:25441
handleTopLevel @ lock.js:25452
handleTopLevelImpl @ lock.js:25530
perform @ lock.js:31578
batchedUpdates @ lock.js:24646
batchedUpdates @ lock.js:29279
dispatchEvent @ lock.js:25607

Help would be appreciated.

@maris-jurgenbergs maris-jurgenbergs changed the title Cannot read property 'get' of undefined. (Lock v10) [v10] Cannot read property 'get' of undefined. Oct 20, 2016
@maris-jurgenbergs maris-jurgenbergs changed the title [v10] Cannot read property 'get' of undefined. [v10.4.0] Cannot read property 'get' of undefined. Oct 20, 2016
@glena
Copy link
Contributor

glena commented Oct 20, 2016

Hi @dimarto we identified the reason and will be ready on the next release (probably next week).

Thx for reporting

@maris-jurgenbergs
Copy link
Author

Thanks for the quick response.

Closing for now.

hzalaz added a commit that referenced this issue Oct 21, 2016
Fix [v10.4.0] Cannot read property 'get' of undefined. #658
@hzalaz hzalaz added this to the v10.5.0 milestone Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants