Migrating Angular 1.x Applications From auth0.js v7 to v9
This guide includes all the information you need to update auth0.js from v7 to v9. Find out if you should upgrade or not by reading Migrating to Auth0.js v9.
Angular 1.x applications usually use the angular-auth0 packagewhen authenticating with Auth0. If you are using auth0.js v7, you should be using the v1 of that package. To use auth0.js v9 you need to update to the latest version (3.x).
You can update the angular-auth0 library using npm or yarn.
The script files need to be added to your build system, or added to the project with a script tag.
Update the Auth0.js library using npm or yarn.
Once updated, you can add it to your build system or bring it in to your project with a script tag.
If you do not want to use a package manager, you can retrieve Auth0.js from Auth0's CDN.
The angular-auth0 library is just a thin wrapper over auth0.js, so you will need to adjust your code in the same way you do it when migrating a non-Angular project.
You can find instructions on how to do it in the How to migrate from Auth0.js v7 to v9.