In the Quran Allah swt send Lot to warn his people about their homosexual behavior. Sadly the people did not benefit from the warnings.
And [We had sent] Lot when he said to his people, "
Do you commit such immorality as no one has preceded you with from among the worlds?(80)
Indeed, you approach men with desire, instead of women. Rather, you are a transgressing people."(81)
Al-Araf 80-81
Ash-Shura 25:165-166
Do you approach males among the worlds(165).And leave what your Lord has created for you as mates? But you are a people transgressing."(166)
[Al-Naml27:55][3]
Do you indeed approach men with desire instead of women? Rather, you are a people behaving ignorantly."
It is better to subdue homosexual feelings and to follow the natural path of all humans: the path of reproduction and the love between man & woman is truly logical one.
These feelings are test. So a believer will be able to resist it by doing prayers, supplications and marrying a woman/man against his/her own desires.
038:026
O David! We did indeed make thee a vicegerent on earth: so judge thou between men in truth (and justice):
Nor follow thou the desires (of thy heart), for they will mislead thee from the Path of Allah: for those who wander astray from the Path of Allah, is a Penalty Grievous, for that they forget the Day of Account.
So most muslims are advised not give in to the calls of satan, but to believe in their Lord and to obey Allah swt.
We do not say like christians(forsaking bible): yes u can be gay, marry with same sex and still be good muslim.
P.s however it should be noted that homosexuality is not disbelief, its regarded to be evil sin that leads to diseases and corruptions.
So a person who is gay can also be muslim aslong he/she stays away from idolworship/shirk and clear kufr.
How would a true believer commit big sins like homosexuality(sodomy/lesbiansex)? The real believer is more concerned and worried about the small sins that can pile up and form high mountains. May Allah give us guidance and wellbeing.