I admit this is a real basic question (I'm very new to web development), but when I try saving the contents of this OAuth sample on to my local drive, I cannot view it in my browser - the screen is blank.
I also tried replacing the appId
line with the App ID of an ArcGIS Online app that I registered. The same problem persisted. This app that I registered was a generic app, following the instructions here, with the Application selection chosen for Step 3 of the Add Apps instruction set.
My company has an organizational account with secure feature layers. I want to reference these layers in web maps that would be solely located within a shared drive. From the looks of it, OAuth 2.0 is what I would need for user access, but I can't seem to make the demo work properly locally. Does anyone have any suggestions?