Generate token for Geocoding service into Portal

252
0
02-03-2019 04:44 AM
DEVAPP
by
New Contributor III

Hi at all,

my organization have aa AGOL account and ArcGIS Enterprise 10.6 (Portal with ArcGIS Server Federated).

I have seen this guide

https://developers.arcgis.com/labs/rest/get-an-access-token/

of ArcGIS to generate token to use for all service into AGOL, in our case Geocoding Service.

In this guide the example request clientId and client_secret for token request.

In our Portal architecture, we have a geocoding service that uses a custom composite locator. Now into the Portal to generate token and use geocoding service, I don't have clientId and client_secret, correct? Or i can use this process also into the portal?

Generally to use service using portal we generate a token by 

https://our_server/portal/sharing/rest/generateToken

using named user credential.

Is correct this process, or is possible to use the same process of the first link also into Portal? How?

0 Replies