I need to let the users of my SPA change their metadata. But it is not reccomended to store Access API Token on the front end. In the following post: SPA - User update own user metadata
A response said the following could be an alternative:
“Alternatively, you can proxy the request in your own API. You would set up a machine-to-machine application for your API so that it could obtain an Access Token from the Management API using the client credentials grant.”
Can someone please specify how to go about this? There is no tutorial or resource.