Multiple logins using IdentityManager in ArcGIS JavaScript API

460
1
12-16-2019 02:02 PM
Status: Closed
DamianCoutts
New Contributor II

When registering a token using IdentityManager only one token can be effectively registered per ArcGIS server.
Can a future version of the API allow us to use different credentials for different services on the same ArcGIS Server?

1 Comment
LaurenBoyd
Status changed to: Closed

The IdentityManager can only register one token per ArcGIS portal or server instance. If using a federated server, it's better to register a token for the portal the server is federated with, and then the IdentityManager will create new tokens for the federated servers.

If you are trying to use different credentials for different secure services on the same ArcGIS Server instance, you can currently do this with request interceptors to append pre-generated tokens to the request for the secured services. This should only be done with non-federated ArcGIS Server services.