It doesn’t say that they have the authority to break state laws by doing so.
None of them did.
Under the U.S. Constitution the state legislatures have the sole and unambiguous authority to determine how the electors are chosen in each state. If none of them took any corrective measures, then no Federal court has any business getting involved in the process.