add token

477
3
Jump to solution
01-11-2018 12:40 PM
anjelinaponkerat
Occasional Contributor II

Hi

How to define token for services like feature service and map service?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

In Javascript the recommended approach is to use the esri resorces proxy and NOT generate your own token.

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Emeritus

In Javascript the recommended approach is to use the esri resorces proxy and NOT generate your own token.

anjelinaponkerat
Occasional Contributor II

Is there any clear help for set proxy and define it on js aplication?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Anjelina,

   Sure there are dozen of threads about this.

Here is a link to the blog links that those threads would direct you to:

https://community.esri.com/groups/technical-support/blog/2015/04/07/setting-up-a-proxy 

And here is the proxy github page:

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