tyf
September 21, 2022, 11:17pm
4
Hey @anandawebservices welcome to the community!
In order delete a user, you’ll need to expose an endpoint in your backend that makes a request to the Management API. You can then call your endpoint from the mobile app, using the Access Token - The topics I’ve linked to below should give you a better idea of what that looks like in practice.
Hi,
I am rookie web developer, that is developing a SPA using NextJS and React. Authentication is handled by Auth0 via ‘auth0/nextjs-auth0’. This is the only Auth0 package that I have installed.
From within my web app, if the currently logged in user decides to click on ‘Delete Account’ how do I make the call to Auth0 to delete that user?
In the Auth0 Dashboard > APIs, I can see two APIs defined.
Auth0 Management API (system API): https://myapp.auth0.com/api/v2/ already exists.
MyApp (custo…
Question: How can I enable users to change their email address from a SPA or native app?
Answer:
Public clients (like SPAs and native applications) are restricted from requesting tokens for the management API with the proper scopes for updating a user’s email. These types of applications are limited to a few specific scopes . Because of these limitations, email change requests from public clients must flow through a backend or proxy API. This could be a serverless function with the sole purpose…
Hope this helps get you rolling in the right direction!