The key is "human rights". The only way to coexist is to respect each other's rights.
A person has the rights to follow whatever religion he/she wants. But that does not give him/her the right to restrict someone else's rights.
A person being homosexual does not restrict the other person religion. It is the same as not agreeing on a personal/political position.