I am using DreamFactory endpoint: /api/v2/user/password
The request that I am passing is:
{
“email”: “my_email”,
“new_password”: “test1001”,
“code”: “code_received_in_email”
}
I am getting an error message that the token is blacklisted. After the password reset email is triggered, the user logins to the system with the old password, and after that any new code generated gives the blacklisted error message. Any help or workaround?
We fixed the problem. The problem was we were using PUT on /user/session to refresh the session token regularly. After we stopped using the PUT api call, DreamFactory started working fine. The PUT seems to be an undocumented API call for refreshing session tokens.