Affairs

I think I was involved in 3 types namely Fallen in love..Emotional.and I am at the stage of Wanting the marriage and the Affair. What started out as a friendship ended up as an affair where I believe I fell in love. My spouse found out that the friendship had turned into an affair and forgave me but I still want both. I feel terrible because I caused my spouse so much pain and he even is willing for us to try again but at the same time I feel like I can't let go of the AP. What makes my situation different is also that the AP is of the same gender and am at a point where I am confused about my sexuality. I have always considered myself straight but I fell in love with someone of my same sex and the love we have for each other feels so real and unbelievable. Am stuck please help