According to the Christian scriptures, homosexuality is a form of sin. This is an indication that, according to God, homosexuality is not something a person is born with, but a sin one chooses to partake in. It is a sin.
As with any sin, one who turns from it, repents, and becomes a follower of Christ can be forgiven for it. There are hundreds of passages in the Christian scriptures which teach that saints (followers of Christ) are made free from sin, and that would include homosexuality. Such an example is: Rom. 6:18. Therefore, one who is homosexual is free to turn away from it, repent, and be a Christian.
The difficulty is that contemporary societies teach that homosexuality is not a sin, but it is with a person from birth. Evidently, there have been people who felt this way from the beginning however. This is why homosexuality has been addressed in scriptures both Hebrew and Christian.
Again, however, God makes clear that homosexuality is a choice of that person, not something given to them at birth. Otherwise, why would He condemn them or say that they be stoned? He wouldn't punish someone for a thing given to them at birth.
We can only discern that (if you believe in the Christian scriptures) contemporary teachings on homosexuality differ from what God says about it.
But God does teach repentance. If one truly turned from homosexuality--something that they CAN do, since according to God it IS a sin--if they turn from it, they will no longer be homosexual. They would, then, be heterosexual, as God made them, and could follow Him. Then, they wouldn't be stoned, and they could inherit the kingdom of Heaven.
Discerning of Bible scriptures; if you agree with Christian scriptures, you'll agree with the above.