laptop and a wrench

Bug

Generating a token using the OAuth2.0 endpoints with a valid Client ID and Client Secret returns a token, which is not valid to access services, which are owned by the same user who created the registered application. This occurs in a federated Portal for ArcGIS and ArcGIS GIS Server environment with a hosting server configured.

Last Published: March 1, 2016 ArcGIS API for JavaScript
Bug ID Number BUG-000093367
SubmittedJanuary 7, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.14
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This is intended behavior, it is a limitation of app logins. Tokens obtained by applications can only read public content and services. Although an App login cannot be used with private content, if the goal is to distribute or sell an app to organizations without ArcGIS Online (no named users), the control access to the content may be controlled by using an login mechanism (Identity) to the app. https://developers.arcgis.com/documentation/core-concepts/security-and-authentication/limitations-of-application-authentication/

Steps to Reproduce

Bug ID: BUG-000093367

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options