I tried to create a password change ticket using auth management API v2 in auth web site (and also using postman). I keep getting this error:
{
“statusCode”: 400,
“error”: “Bad Request”,
“message”: “Payload validation error: ‘Invalid property user_id’.”,
“errorCode”: “invalid_body”
}
I’m passing the data:
{
“result_url”: “my-apps.us.auth0.com/api/v2/”,
“user_id”: “auth0|user_id_code”,
“connection_id”: “con_code”,
“email”: “user.email@mydomain.com”,
“ttl_sec”: 86400,
“mark_email_as_verified”: true,
“includeEmailInRedirect”: false
}
I also tried passing the user_id without “auth0|” and as “auth0%7C” and got the same error.
I also changed the result URL to “http://localhost:3000” and got the same error.
I’m trying to create a custom page to reset the password. If there is another way, please point to me. I’m lost in the documentation.