You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error if I call post_password_change with or without a String password:
{
"statusCode"=>400,
"error"=>"Bad Request",
"message"=>"Payload validation error: 'Expected type string but found type object' on property new_password (The password to set for the user once the ticket is used).",
"errorCode"=>"invalid_body"
}
Here is how I am calling the method:
res = auth0_client.post_password_change(
user_id: user.user_id,
result_url: ENV['AUTH0_CALLBACK_URL']
)
If I pass a new_password parameter I get the same exact error
res = auth0_client.post_password_change(
new_password: 'secret',
user_id: user.user_id,
result_url: ENV['AUTH0_CALLBACK_URL']
)
The text was updated successfully, but these errors were encountered:
I get this error if I call post_password_change with or without a String password:
Here is how I am calling the method:
If I pass a new_password parameter I get the same exact error
The text was updated successfully, but these errors were encountered: