Change password within the app

Hello

Happy new year!

I want the user to be able to change the password from within the app (Android). When the user clicks on a button, he provides the old password (for verification) and the new password (to be changed to).

Can I use the “update property” on the object to change password? In docs it talks about recovery and method to be through email. But I don’t want recovery, I want to change password by the user within the app.

Please let me know if this is possible and if the “update” method for password works)

Thanks

Hello,

Yes, you can update password as any other property - the difference is just that you don’t receive it in response. Though to check the old password you’ll have to perform an additional login while “multiple logins” in enabled in console. And also be sure to set proper permissions so that unauthorized users can’t update other users’ passwords.