In as much as Islam is a peaceful and accepting religion, one of the topics that it has shunned is homosexuality. According to Quran, homosexuality is haram and no person is supposed to marry or have sexual relations with a person of the same gender. Scriptural evidence of the stance against homosexuality can be found in the Quran even though hadiths have different stances.
The Quran reference can also be perceived to be general. In the case of Lot, the Quran seems to be issuing a generalized declaration against any person who commits adultery publicly. Therefore, the absolute laws declaring homosexuality illegal are nonexistent in the Quran and the Islamic view on gay behavior are subject to interpretation.
The Muslims who are guilty of homosexuality have the right to repent as opposed to confessing. The shariah law seems to protect the person from any exposure hence it can be perceived as a right to privacy.
Gays do not have the right to marry. The fact that the religion does not support open display of affection between gay couples indicates that it is impossible for them to marry and be recognized. Any open indication of homosexuality is often followed with protests and occasional punishment that may range from 39 lashes to death by stoning or lynching