
iyryb (iyryb) asked a question.
Hello Okta
I was developing IDP web application in reactJS for my company. Everything is up-to-date and works as expected like I can authentication works. Now my company assigns me one task. The task is locking users account after 5 incorrect password attempt and automatically unlocking after 30 minutes. locking works but automatically unlocking is not working for me. How could I do it please help me?

Hello @iyryb (iyryb)
Thanks for reaching us with this situation.
I reproduced what you mentioned regarding the automatic lock / unlock of users with the same parameters you need, lock the account after 5 incorrect attempts and automatically unlock after 30 minutes.
The guide used for this procedure is this: https://help.okta.com/en/prod/Content/Topics/Security/policies/configure-password-policies.htm
Additionally, a rule is required to be able to apply the Password Policy to the users.
Could you please provide me with the information you entered on the rule options to further assist you?
Regards,
Daniela Chavarria
Okta Inc.
Thank for your support @User1630709688426468638 (Okta)
Yes I followed steps of this link https://help.okta.com/en/prod/Content/Topics/Security/policies/configure-password-policies.htm
and also I have added the rule as well. but it didn't unlock the account after 30 minutes
my rule is here
Hello @iyryb (iyryb)
Could you please change the rule and instead of "perform self-service account unlock" choose the "change password" option and test again.
Here is the example:
Let me know if this makes any difference.
Regards,
Daniela Chavarria
Okta Inc.
Thank you again @User1630709688426468638 (Okta)
actually should it have to change his password?. we just need lock for 30 minute and unlock after 30 minute and login by previous password. did you guys support this?