I'm using ArcGIS Server 10.4. I have services secured with OAuth 2. I'm trying to use the OAuthInfo and IdentityManager to access my services in a web app. Similar to this sample: OAuth Basic | ArcGIS API for JavaScript 3.26
Instead of displaying a gallery I'm just trying to add the secure services to a map. All of the documentation I've read refer to ArcGIS.com and ArcGIS Enterprise (Portal). Does this security model extend to ArcGIS Server without portal configured?
Thanks very much.