Select to view content in your preferred language

Enterprise Python Authentication

8289
11
Jump to solution
02-02-2021 06:32 PM
zx
by
Occasional Contributor

Hello,

referring to this page https://developers.arcgis.com/python/guide/working-with-different-authentication-schemes/ , what is meant by "built-in identity provider" in this statement:noninteractive.PNG

I'm trying to interact from python with feature layers that are stored on my enterprise account, we use OAuth2 with a IDP. I can't use the python API because I am not an administrator.. should I login with he REST API? 

Tags (1)
11 Replies
JoshuaBixby
MVP Esteemed Contributor

@zx, I moved your post from Python to ArcGIS API for Python because this involves the said API and not ArcPy.

HariniS
New Contributor
 

 

gis = GIS(ESRI_PORTAL_URL, api_key=ESRI_API_KEY)
gis =GIS(ESRI_PORTAL_URL, client_id=ESRI_CLIENT_ID)
gis = GIS(ESRI_PORTAL_URL, ESRI_USER, ESRI_PWD)

I have tried all these combinations and nothing seems to be working. 
Has anybody figured this out?
I am able to access the webmap with CRUD operations via REST API when the webmap is public , but when it is setup at the organization level , I cannot do those operations.
0 Kudos