We have a .NET MAUI app that uses our internal API and also needs to use Esri's ArcGIS portal. The authentication for ArcGIS portal is setup to use our Azure AD as identity provider. What we are trying to accomplish the following flow:
- Using our app, the user interactively logs-in to our Azure AD (in order to access our internal API), and the app eventually obtains the Bearer token for our internal API.
- Our app then non-interactively logs-in the user to ArcGIS portal, and eventually obtains the Bearer token for the ArcGIS services.
We're using .NET MAUI. But any .NET6 example would suffice.
Thank you!
We are able to login interactively to ArcGIS, using the same user/pass as we use to authenticate into our Azure AD. However we cannot figure out how to do this non-interactively.