Hi,
I’m new to the ArcGIS Runtime SDK’s and to OAuth 2.0 and apologize for anything unclear.
I’m developing a WPF app that supports users loading web maps from an ArcGIS Online portal, identical to ArcGIS Earth and the “SearchPortalMaps” WPF GitHub sample which I based my code off of. Since it’s a desktop app without a domain name, I’ve been struggling on what to put for a redirect URL in the OAuth 2.0 workflow. My two ideas were to use a custom URL protocol redirecting to the app or an httpListener to listen for requests on an IP loopback address. I’m struggling to implement either and can’t see how they lead me to an ArcGISPortal object needed for loading the web maps and named user licensing. How is this usually done?
Let me know if I can provide any clarification.
Thanks,
Ari