@auth0/auth0-angular - latest version (currently 1.7.0)
We’re struggling with the lack of support for non default audiences in auth0-angular. On auth0-spa-js it’s possible to pass audience as a parameter to methods on the authClient such as getUser & getIdTokenClaims, however this is not possible in auth0-angular which is causing us some headaches.
If the user has a token but not for the default audience it’s not possible to see the idToken values on the user$ observable, instead we’re having to make a call to our API to look up the details on the management api and return that instead which is not efficient.
We think this would be solved if auth0-angular exposed the underlying auth0-spa-js authClient instance so that we can use the methods on that directly. Aside from that happening is there any way that we can accomplish what we need with the existing auth0-angular package?