The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

191963 (1) [Avatar] Offline
I have started reading this book and so far it is great. Only issue I have so far is that the authentication/login with auth0 is not really explained. In chapter 2 it mentions that there is a login screen and if users are not logged in then they will be presented with this screen.

There is then just mention of including the auth0 libraries, and when using the code provided from github to update the domain/client id with our own account information in the appendices.

When looking at the source on github there seems to be a LoginService, LoginController, etc, that have no explanation in the book.

Where can I find more info on how this works?
Lukas Ruebbelke (107) [Avatar] Offline
Thanks and great question! I am going to write up a post outline how Auth0 works in conjunction with the book. I will let you know as soon as it is out. Thanks!

In the meantime, definitely check out the awesome documentation on the Auth0 website.
369090 (2) [Avatar] Offline
For some reason the default auth0 account returns a 403. If you register for your own account on and you use the .eu CDN you need to change lines 22 and 24 of karma.conf.js:

Rodrigo López Dato (1) [Avatar] Offline
Lock versions prior to 7.3.2 do not support EU accounts out of the box. You can review all versions of Lock and the changelog here:

Also, keep in mind that pinning to a major version (e.g. lock-7.js) will automatically update to all minor and patch versions, which might not be desirable in production. Always pin to a specific version (e.g. lock-7.9.2.js) if possible. The same applies to auth0-angular.