Is the only way to obtain a Management API token via copy and paste?

,

Thanks @tyf , this is very helpful!

Alright, so I read through the thread as well as the docs on setting up an M2M app.

So I guess my follow-on question would be, if we end up setting up and calling an M2M app from within our app in order to be able to access the Management API, then would that mean that we could no longer also utilize an Auth0 SPA in our app as well, since that would require two different clientID’s in the same app, which would create an unresolveable conflict?

So basically, we have to choose between using a normal SPA or an M2M/Management API for our app, is this correct?

Or does the M2M/Management API encompass/ include already all of the functionality that the normal SPA/Auth0 app has? (Therefore, we should just go with the M2M/Management API and forget about using the normal SPA/Auth0 app?) Apologies if this question is a bit complex!

Thanks again,

Rob

1 Like