Closed djg07 closed 9 years ago
@djg07 the proxy configuration file looks good to me. but the fact that passing the token didn't work is probably the key information here (assuming that we set the referer value correctly when generating the token)
Can you try different user maybe? It is probably easier if you can call esri tech support, we can help you debug this.
@esoekianto
Just tried it with a different user with read privileges, same result.
I've been using "IP" as the Client when generating the token. Is this correct?
@djg07 thats okay.
The requests in your application are going thru the proxy right? You can try to also change the mustMatch property in proxy.config to true.
Yup they are going through the proxy successfully.
@esoekianto I updated to the most recent version of proxy.ashx . It is now working as expected.
I have the same problem.when i use the mapserver in html to open in web, it reminds me to login .
I've been attempting to set this up using the instructions in the Readme.md, but keep getting a "Token Required" error and subsequent login prompt when attempting to access the secured map service.
.config file looks like this:
I tried getting a token from the rest interface and passing it in as "token='xxx'" but that didn't work either. Also, I am noticing I can't hit a breakpoint in proxy.aspx