Need urgent help. Proxy a request

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.

Hi there @benjamin203!

While I’m unaware of a step by step guide for this specific use case, however this post outlines what you are looking for:

Some more resources that may be helpful:

Hope this helps at least get you going in the right direction!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.