Authentication for Save State Service

The default security mode of the Save State Service is the anonymous mode. In this mode, all app states are public and it is not possible to restrict an app state to specific users. It is configured via the property security.mode and the value NONE.

security.mode=NONE

If you want to take into account user information of your current map.apps session you have to configure the security mode of the Save State Service in the same way as the map.apps instance.

In order to configure the Save State Service accordingly, please refer to the map.apps documentation for further instructions.

Enable app state restrictions

It is possible to restrict app states to certain user roles in terms of visibility and editing. To make this possible, roles must be assigned to the users.

map.apps can be secured with certain identity providers. The configuration of user roles is therefore dependent on the identity provider used.

The following is a brief overview of the configuration of roles for the identity providers.

Keycloak

The assignment of roles is mapped via Keycloak. The following are links to the relevant documentation.

ArcGIS enterprise and ArcGIS online

The assignment of roles is mapped via Identity Service. The following are links to the relevant documentation.

security.manager enterprise edition

The assignment of roles is mapped via security.manager. The following are links to the relevant documentation.