Get Authorization Api Token

No problem, happy to help where I can!

If you do not have a backend to handle Management API tokens, then you will be limited in terms of which scopes are able to be requested. The reason being that a a front-end application cannot securely store a token, credentials, etc. Please see our documentation on confidential and public applications.

Typically, you would use a backend to proxy requests like delete a user:

You can find an example of what that might look like here.