Select to view content in your preferred language

how do i paste OAuth2 Approval code into python toolbox

125
0
3 weeks ago
Labels (2)
todddoerr2
New Contributor

I created a python toolbox with the following code:

from arcgis.gis import GIS
gis = GIS("my portal url", client_id='my client id') 

When I run the toolbox, a browser pops up with a OAuth2 Approval code which is expected. (see screenshot).

The question is how can I paste that code back into my running toolbox?

todddoerr2_0-1744983237431.png

 

0 Kudos
0 Replies