How to open secured rest api URL in web map without prompt for authentication

389
3
01-13-2021 08:05 AM
JoseSanchez
Occasional Contributor III

Hello everyone,

I am using Portal.

Is there a way to paste the original map service secure feature REST URL to a web map and store the credentials with the item?

https://<server>/arcgis/rest/services/<map_service>/FeatureServer/0   

So like that it does not prompt for authentication every time the web map opens.

Thanks

 

 

0 Kudos
3 Replies
CalvinLietz
Esri Contributor

Hi Jose,

Is your Server federated with Portal? If so, Portal should take over the authentication for the feature service.

If not, then you can be presented with the option to store credentials with the item when you add the feature service as an item to your Portal content. See Connect to secure services for more information.

-Calvin

0 Kudos
JoseSanchez
Occasional Contributor III

Thank you  Calvin,

I checked the second option, storing credentials, and it works fine.  Thanks.

Additional question, is there a way to  store credentials in an existing feature service after changing the URL from a non secured to a secured map service?

 

 

Thanks

 

 

0 Kudos
CalvinLietz
Esri Contributor

Hi Jose,

Glad that was able to work out for you. As for your second question, I believe you would have to add the service as a new item in order to get prompted to store credentials. I don't think the Portal interface will bring that up on its own.

Best,

Calvin

0 Kudos