Set Requirements for User Passwords
Go to Tenant settings > Identity Pools > YOUR_IDP > Settings
Expand the Password Policy menu and set up password preferences in accordance with your organization’s policy.
Your users are now required to set passwords that meet the password policy configured for the identity pool. The policy is applied only to the pool you have just configured - if you want to have it applied to different pools as well – repeat the steps.