Angular Application requires access to secure ESRI web services. Issues generating token and passing to web service request

07-14-2020 05:24 AM
New Contributor

I have an Angular Application that required access secure ESRI web services. Our GIS admin has provided me a username and password for accessing the services, but when I try to call the service, I get an error that I need an access token. If I manually use the username and password to generate the token and place the token in my code, I am able to retrieve the data from the service. Unfortunately, I need to generate the token in my code and pass it to my web service call. The ESRI documentation regarding token generation so far has not been helpful. I would love assistance on this. Would be happy to provide the code (C#) I have so far.

Below are some of the references I have reviewed:

0 Kudos
1 Reply
Esri Frequent Contributor

Tagging other groups for better visibility: ArcGIS Pro SDKDeveloper Communities

--- George T.
0 Kudos