auth0-samples / auth0-angularjs-sample

These samples are made up of steps to add Auth0 to an Angular JS app
28 stars 111 forks source link

Auth0 not a constructor #45

Open bobbyziom opened 7 years ago

bobbyziom commented 7 years ago

Problem is described here. Documentation not updated for latest auth0-lock 10.8.

http://stackoverflow.com/questions/41707970/auth0-is-not-a-consutructor-angularjs-and-auth0/41763628#41763628

alobban commented 7 years ago

Here is my solution for me running Auth0-Lock 10.11.0:

"auth0-lock": "^10.11.0",
"angular-lock": "^1.0.5",
"auth0.js": "7.6.1"

I had to install Auth0.js v7 separately as a dependency; v8 had issues. Now auth0-lock widget works for me. I figure this might also be the solution for running auth0-lock 10.8.