Select to view content in your preferred language

Edit secured service without token

647
2
05-23-2022 04:36 AM
MohamedG
Esri Contributor

Hello there.

I am developing an incident reporting mobile application that enables public users to report issues and incidents to the authorities.

The service that stores the submitted incidents is secured and references a feature class in an enterprise geodatabase.

As the app is for public user, the users can't be asked for usernames and passwords, so I store them in the application and generate a token every time a user submits a record.

Is there any way to give the app permission to edit the service without token?

 

Tags (3)
0 Kudos
2 Replies
Raul_Jimenez
Esri Contributor

Hi @MohamedG,

I'm not very familiar with services referencing Feature Class in an Enterprise GDB, but just in case you don't know this, Hosted Feature Layers can be enabled for Feature collection (and can be limited for add, delete and update attributes only or attributes and geometry):

2022-05-31_11-38-57.png

2022-05-31_11-39-40.png

Probably being a reference service the options will be different...

Another "workaround" if nobody else help us here would be to create a Hosted Feature Layer and sync both services using Python, REST JS or the REST API directly. Not sure if Integromat (now called Make.com), Zapier, Power Automate or Tray.io would be able to connect to an Enterprise service.

I hope this helps

0 Kudos
MohamedG
Esri Contributor

Thanks @Raul_Jimenez for your response.

The service I am using is on ArcGIS Enterprise not Online.

And I can't make it shared for public for security considerations.

Sorry for late response.

0 Kudos