I have setup an Auth0 Form for a OTP verification email flow.
I created the following:
- M2M Application with Auth0 Management API permission for read/write users, app_user_metadata.
- In Auth0 Forms > Vault: I created the connection for Auth0 with the M2M application data (tenant, client id, client secret)
- Connection to Auth0 is successful
The flow is working and everything is a success, when the otp code is confirmed and verified the next step is to update the user metadata, however that specific request is failing due to an invalid bearer token.
Below are the screen shots of the implementation: