Auth0 Home Blog Docs

Angular 4 & lock v.11

setup
auth0-in-angular-4

#1

Hi guys,
I added a
to my index page but when I running the angular app it shows me an error

GET https://cdn.auth0.com/js/lock/11.x/lock.min.js net::ERR_ABORTED
dashboard:70 GET https://cdn.auth0.com/js/lock/11.x/lock.min.js 403 ()

how can I fix it, Thanks


#2

As you can see in its repository to install Lock, you should add <script src="https://cdn.auth0.com/js/lock/11.2.3/lock.min.js"></script>

The 11.x just means you should replace x with the latest version, which you can always see in the repository linked above.