Auth0 Forms Update User 401 error

Hello All, I resolved the issue. I found an amazing help article that took a while to find. I was using a SPA application and not a M2M. After changing to M2M it worked perfect!

developer.auth0.c0m

resources/labs/forms/user-onboarding-made-easy#create-a-flow-to-update-user-metadata