Esri/resource-proxy

Multiple Accounts

jocelimjr2000 opened this issue · 3 comments

Hello,
I have a problem and I need your help.
I included two diferents users in proxy.config (Java) and need choose an account in differents webapp, but i don't know solve this problem.
Thank's so much.

WebApp 01 - Access account 01 (user01)
WebApp 02 - Access account 02 (user02)

@jocelimjr2000 If you want two different apps to use different authentications, the easiest way is probably to just

  • use two different proxy files.

@bsvensson I duplicated the proxy.jsp and proxy.config files (proxy1.jsp / proxy1.config) into current project, but there was a error on the second connection (recursive endpoint caller, returning error code 403, message: "You do not have permissions to access this resource or perform this operation.", messageCode: "GWM_0003").
I duplicated the project and it worked.
Thank you.

Glad you got it working @jocelimjr2000 :)