scottgrace

OAuth2 App Login access to shared items within an organization

Discussion created by scottgrace on Jan 6, 2014
Latest reply on Nov 29, 2015 by sjacksonesriaustralia-com-au-esridist
I know that this esri document states that:

Successful authentication directly returns a JSON response containing the access token that allows the application to work with resources that are accessible to the application (that is, have been shared with the application). Use of the client_secret as shown above is mandatory.


But i am unable to access a feature service shared with my organization using the app login workflow, does anyone know how to "share an item with the application"? the owner of the application has access to the item and anyone in the organization has access to it, but with the app login i am unable to access it. This seems like an issue on esri's side, because i see the oauth2 functions trying to generate the token to access the shared feature service and it does generate the token but it still does not have access to that feature service (this is not the token used to do the app login).

Outcomes