The code example here (https://auth0.com/docs/quickstart/spa/angular2/01-login#add-the-authentication-service) is too complicated. Just because Angular uses observables does not mean that we do everything with observables. You only use them when you need them. This code example is an overkill. You could just write it with regular promises.
Thanks for the feedback. Let me relay that to the team responsible for developing quickstarts.
I just got the response that the team is in the process of producing a brand new SDK that hides all of these details and makes doing auth in Angular much simpler, so you will no longer have to deal with a lot of this stuff.
You should look out for an announcement for the public beta version very soon, which will also come with a new quickstart and sample to reference
This topic was automatically closed after 5 days. New replies are no longer allowed.