How to view resources on the server that are accessable throught Identity Manger generated Token

231
0
06-19-2019 09:59 AM
NaveedAhmed2
New Contributor III

I have a couple of questions about implementing identityManager in JSAPI 4.x and possible ways to present users with the relevant server resources for which they are authorized to

1)  I am creating a token based authentication to access ArcGIS server-hosted resources using ArcGIS JSAPI 4.x identityManger. Is there  a way possible so I can get a list hosted services on ArcGIS server that are accessable through that particular token.

2)  Right now after registering a token when I try to access a secure service for which that user is not authorized to access is just throwing following the error 

Is there a way possible to catch this error and present user with another secure hosted service for which user is authorized to.

I will appreciate your response.

0 Kudos
0 Replies