I have deployed a base deployment of arcgis enterprise 10.7.1 with components portal, server, datastore, two web adaptors one for each for portal and server. By using the option of 'Enterprise Logins via SAML' I federate keycloak 6.0.1(IDP supports SAML 2.0) to the portal. Currently, I am able to access the portal and server in the web browser using 'enterprise login' and users available in keycloak. Is it possible to do it programmatically using python? If so please share some resources.