Lord of the Rings Series -- Amazon

I'm not a Tolkien scholar, but I did think was odd that Gandalf finds out Sauromon is looking to rule Middle Earth at this point but remains friends with him and trusts him in the Lord of the Rings.
Well we don’t really know it’s Sauromon - they left the blue wizard stuff pretty ambiguous
Maybe they want to play with them more, or it’s just a manifestation of Gandalf still not remembering

But even if it is, the easy head canon is that the Dark Wizard has a come to Eru moment and humbly align with the forces of good to defeat Sauron in the great upcoming battle