Enterprise Logins via Keycloak (SAML) programmatically

303
2
02-13-2020 04:59 AM
Highlighted
New Contributor

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.

Reply
0 Kudos
2 Replies
Highlighted
New Contributor III

Just to be sure, when you say python, do you want to access portal resources like items/content or you want to query a feature service using a federated identity or probably both?

What happens when you try try creating a portal/server token using the federated identity?

Reply
0 Kudos
Highlighted
New Contributor

I want to access both portal resources and query a feature service using the federated identity.

When I try to create a portal/server token using the federated identity it gives error "Invalid username or password."

Reply
0 Kudos