Open althaf004 opened 2 years ago
Hi..your solution is correct, but is syntactically wrong..... you can avoid to dump the payload:
SOLUTION HERE:
if keycloak_user and req.password == req.confirmPassword:
userId : UUID = keycloak_user[0]["id"]
await self.keycloak_admin.a_send_update_account(user_id=userId, payload=['UPDATE_PASSWORD'])
return self.success_response(True)
For resetting password there is provision for
which is similar to execute action.
but instead of this, is there an api to send password reset email