Kansas bill protects adoption agencies that cite religious beliefs to keep kids out of LGBT homes

It's the latest state to pass such a law.

The Adoption Protection Act passed in an early-morning vote today in the Kansas state Senate after a night of debate. It had already passed in the state House and will be sent to the governor in the next 10 days for his signature in order to become law.

Gov. Jeff Colyer, a Republican, intends to sign the bill.

"Catholic Charities and other adoption agencies are key to the fabric of our communities,” Colyer said in a statement. “I look forward to signing this bill because it increases the opportunities for needy children to find loving homes.”

Opponents of the measure, including gay rights groups, consider the bill discriminatory.

"This is a slap in the face to children and families across the state, and lawmakers who voted for this bill should be ashamed of themselves," Stokes said in the statement to ABC News.

"Business leaders, youth advocates, child welfare organizations, faith leaders, and fair-minded Kansans have all spoken out against this dangerous bill and we join them in urging Governor Colyer to stop this misguided attempt to write discrimination into law," he said.

Several other states have similar laws in place. Oklahoma passed similar legislation Thursday that is now also headed for approval by the state's governor, The Kansas City Star reported.

Chuck Johnson, the president of the National Council on Adoptions, which has not taken a public stance on the issue, said that despite such laws, which inherently affect only faith-based adoption agencies, "adoption by gay and lesbian families is happening in all 50 states."