I have created an application in ArcGIS App Studio that consumes a REST service. This application is public and will be in the stores. This REST service was added as an item in the Portal for ArcGIS and portaladmin credentials were configured. The REST service was shared with a user group, and the user credentials are in the App code.
It turns out that when accessing the App it gives error 403 "You do not have permissions to access this resource or perform this operation".
This only happened after I updated the ArcGIS Server to version 11.1. Previously in version 10.9 it was working correctly.
The question I have is: How can I use a secured REST service in an AppStudio app that will be public?
Thanks.
João Pinheiro