Universal login and @auth0/auth0-spa-js vs @auth0/auth0-angular

I’m working on a project with Angular 13 that call a .Net API.

I managed to add the universal login an get a token from Auth0 using @auth0/auth0-angular, so the dashboard configuration is fine.

Searching in the documentation and guides I find some stuff using @auth0/auth0-spa-js and @auth0/auth0-angular, but I don’t know exactly wich one is better for my case.

Also, I don’t know exactly what to do after calling the login funtion and how to handle the callback from Auth0. I wanted some more complete code as example.


Hello @g.guedesdaluz !

I think you’re on the right track using auth0-angular :slight_smile: auth0-spa-js is a more generic SDK which auth0-angular, auth0-react, etc. are built on top of.

I definitely recommend checking out the following tool which allows you to choose your own stack for a sample app:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.