Enterprise Logins via Keycloak (SAML) programmatically

2137
3
02-13-2020 04:59 AM
YogeshShinde1
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.

0 Kudos
3 Replies
WhereMatters
Occasional Contributor

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?

0 Kudos
YogeshShinde1
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."

0 Kudos