-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changes to how to use proxies in this release? #72
Comments
Hmm, sorry you're having an issue with this. We tested the proxy and it seemed to work as expected using the steps below. If these aren't working I'd suggest please contacting Esri Support as they'll be better able to help you troubleshoot your specific issue.
|
Thanks for the response, Owen. In the past I have not had to register my layer (secure service) in My Content because I would reference the URL in the proxy rules- is this now required? I got my proxy working with my usual private map, app and secure service but I would like to employ the oauth as you recommend as long as there are no log ins required anywhere. Do I have to create a new app content item every time I want to access private maps/apps or can I reuse my one I have already that works for other apps? My initial support call was resolved for the actual proxy rules, but with which team would I follow up with for figuring out the above workflow using the Oauth instead of adding lines of code? thanks |
I am working with @upcamogie in the support case. So we helped her configure the resource-proxy and added PROXY_RULES to the webmap URL and the secured layer URL. And this is working now, no login pop up. The questions are
Thank you. |
Hi @upcamogie, sorry, I think we misunderstood your initial question. After talking to @esoekianto, it sounds like, in version 1.6.1, users used to be able to list the That is correct. You should now list your There is no need for OAuth2 authentication at this point, and you are correct that adding it would trigger the login window that you are avoiding with your proxy. Technical info: in 1.9.0, we changed the way we're loading scripts (from Thanks! Hope this helps! |
I have a map journal app using the 1.6.1 template and its still find except the navigation to certain pages/home does not work when viewed with my custom URL (although strangely it works when i edit the map journal on AGOL).
So I downloaded this version of the template and did the same proxy steps (adding in config.js and index.html the proxy rules code I was given previously) and the app is still asking for credentials for the AGOL log in and the secure service.
I then tried to use my Oauth appID I created for my other apps that is also in my proxy page without changing anything except the reference to my proxy in the config.js and I get an invalid redirect_uri
Is there still a way to use my proxy rules code in the index.html that seemed to work better than the OauthID? I'd like to use the new template for any added/improved functionality but tweaking my proxy settings each time is getting exhausting. thanks for any insight on where to go from here
The text was updated successfully, but these errors were encountered: