All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
There is no doubt that homosexuality is a grave major sin as we clarified in Fatwa 81617. Since you repented, we hope that Allaah accepts your repentance. No matter how great or small the sins of a person are, if he sincerely repents, Allaah will accept his repentance and will be pleased by his repentance, as He likes those who repent. Allaah Says (what means): {Say, “O My servants who have transgressed against themselves [by sinning] do not despair of the mercy of Allaah. Indeed, Allaah forgives all sins. Indeed, it is He who is the Forgiving, the Merciful.”}[Quran 39:53] Moreover, Allaah Says in a Qudsi narration: "O son of Aadam, were your sins to reach the clouds of the sky and were you then to ask forgiveness of Me, I would forgive you and I shall not mind." [At-Tirmithi]
Finally, it should be noted that you should be careful of despairing from the Mercy of Allaah, as it is only the disbelievers who despair of His Mercy. You should also conceal your sin and never inform anyone about it. For more benefit, please refer to Fataawa 85523 and 81962.