I want to add an API in my node server, which I already have working. The problem is that I want to handle both the default Auth0 Management API and my node server API. It seems like according to this post I can’t create my client against two audiences.
In addition I have issues trying to use Auth0.js
client.userInfo function using the API’s audience. How do you guys suggest doing something like this. I was thinking about trying to authorize a second time with my API as an audience with the id token received on a login without the audience, but I don’t see a way of doing that.
I also found a way to at least get the profile using the scopes
openid profile, but I assume this will not allow me to edit the users profile. In addition I no longer see the email field instead I see a name field and I also don’t see the user metadata I added to the user using a rule I created.