Select to view content in your preferred language

directions widget

936
2
Jump to solution
07-28-2017 03:52 PM
JohnCaldwell1
New Contributor

I can't get the 

"Please sign in to access the item on ArcGIS Online (item)" popup to stop coming up when using the widget in a website.  I am passing the clientId and the clientSecret as a serverUrl object in the proxy.config.
I could do a work around and just find the element in the dom and delete it but it seemed inefficient.
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

John,

   This is one of the many benefits of setting up a proxy. The proxy can store your credentials and auto login for your users.

Setting up a Proxy | Support Services Blog 

GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP. 

View solution in original post

0 Kudos
2 Replies
JohnCaldwell1
New Contributor

Looking more into it, what I really need is the ability to auto-sign on the widget when using it in an external application.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

John,

   This is one of the many benefits of setting up a proxy. The proxy can store your credentials and auto login for your users.

Setting up a Proxy | Support Services Blog 

GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP. 

0 Kudos