Esri Leaflet - Access premium ArcGIS Online content - Error 400

Discussion created by SIMO-DESSAU on Mar 10, 2018
Latest reply on Mar 11, 2018 by JGravois-esristaff



I have some interest for this example :

(I want to add a private layer in my Esri-Leaflet project with an authentification.)


The exemple work fine on the Esri-Leaflet Web site. But When I try it on my own (in a doc.html on my computer), it doesn't work. when I click on the link "Add trafic layer", it says" 'Invalid redirect_uri - error 400".



Does someone know why ?