horizon3ai / vcenter_saml_login

A tool to extract the IdP cert from vCenter backups and log in as Administrator
MIT License
486 stars 90 forks source link

vSphere 6.7 Error: Exception: expected 302 redirect #20

Open TryA9ain opened 2 years ago

TryA9ain commented 2 years ago

i use vcenter_saml_login.py, but it Error

image image

Then i see the #13 and use it py, but Error too

image
tompohl commented 1 year ago

I just had this issue yesterday and figured out it was an issue where with vxrail the management interface is on a different ip/url than the SAML identity provider. I have a modification of the code where I set the resource requested in the saml assertion to the correct host as well as following the redirect for the service provider url (management interface) to the IDP.

alcl962dk commented 1 year ago

I'm having this issue as well. @tompohl are you hosting the modified code somewhere that we can access it? Or if not, would you be willing to?

7MinSec commented 3 months ago

Sorry to nudge an old thread but I'd love to see that modified code as well, as I'm up against a similar situation.