Hi, Maniganda.
I can actually confirm something like this happens for me as well, from time to time (the flow fails with ambiguous error, returning you to IDP selection page, but works the 2nd time). Thanks for the detailed report, we'll try to look into it.