I'm receiving an error in both direct call and container that "response did not contain a valid SAML assertion" despite valid username/email and password (verified via console), so I went to single stepping through with an IDE.
formresponse = session.get(url, verify=True)
returns a 200, so all is still well here.
idpauthformsubmiturl contains https://console.jumpcloud.com/login?context=sso&redirectTo=saml2%2Faws after the 302s which seems correct, however
I'm receiving an error in both direct call and container that "response did not contain a valid SAML assertion" despite valid username/email and password (verified via console), so I went to single stepping through with an IDE.
formresponse = session.get(url, verify=True)
returns a 200, so all is still well here.
idpauthformsubmiturl
containshttps://console.jumpcloud.com/login?context=sso&redirectTo=saml2%2Faws
after the 302s which seems correct, howeverformsoup = BeautifulSoup(formresponse.text, "html.parser")
doesn't seem to contain what it's looking for:
As a result the two find_all() operations fail, meaning the loops return no matches and the POST returns with a 405, unsurprisingly.