Skip to content
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

revert #884, withCredentials can be problematic for non IWA services #890

Merged
merged 1 commit into from
Nov 17, 2016

Conversation

jgravois
Copy link
Contributor

after tagging v2.0.5 i realized that one of the bug fixes resulted in errors when attempting to use CORS to fetch data from non secure ArcGIS Online feature services.

http://jsbin.com/wudoxe/edit?html,output

after tracking down a dependable test machine i also learned that the change wasn't even sufficient to get IWA secure dynamic map service images to draw anyway, because setting the L.imageOverlay constructor option crossOrigin to true still stripped identifying cookies and resulted in a 401 error from the server.

@patrickarlt patrickarlt merged commit 3b5ba0d into Esri:master Nov 17, 2016
@jgravois jgravois deleted the iwa-cors branch November 17, 2016 00:45
jgravois pushed a commit to jgravois/esri-leaflet that referenced this pull request Apr 23, 2022
revert Esri#884, withCredentials can be problematic for non IWA services
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants