Hi, I am running into the
{
“error”: “invalid_grant”,
“error_description”: “The mfa_token provided is invalid. Try getting a new token.”
}
api response on https://harmonize-dev.auth0.com/mfa/associate
My payload
Header:
{
Content-type: application/json
Authorization: Bearer mfa_token
}
body
{
“client_id”:“xxxx”,
“client_secret”:“xxxxx”,
“authenticator_types”: [“oob”],
“oob_channels”: “sms”,
“phone_number”: “+1 xxxxxxxxx”
}
Do you know where I am making the mistake?
Thanks
1 Like
Ok, I have figured out what happened:
I had the wrong type of provider in the rules:
I wrote:
context.multifactor = {
provider: ‘sms’,
allowRememberBrowser: false
};
But it should actually be:
context.multifactor = {
provider: ‘any’,
allowRememberBrowser: false
};
2 Likes
Hi @jack-harmonize!
Thank you for sharing your solution to the issue. Please let me know if you have any more questions.
system
Closed
4
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.