there is an option in the firebase console. goto firebase console -> authentication -> settings -> Password policy and tick all the options you want to implement