I am trying to use the iOS SDK to update user metadata. I can authenticate, get credentials, and get a profile. But when I try to update the user metadata I get a 401 error (Invalid Token). I am following the example from here: Auth0 iOS / macOS SDK Quickstarts: Login
This is because for updating user information you need to interact with the management API, and the Auth0 Management APIv2 token is required to call the Auth0 Management API.
Learn more about how to get a Management APIv2 Token here