Hello all,
I am relatively new to programming and software development but thought this is the place to ask. I am currently developing a small app for internal use at my company and am stuck on Leaflet Authentication to access subscriber content (a layer from ArcGIS Online). My company has a GIS personnel login for AGOL that I would like to enter into my JavaScript code so that anytime someone opens the app, it is already signed in. I am a total newb to JavaScript (this is the first time I have ever used it) but it sort of makes sense.
Can anyone provide me with a snippet of code that I can type the login information into so that it will log in upon launch?
Thanks for the help!