Is there a hidden trick to using OAuth in enterprise? #535
Unanswered
DCarlson12
asked this question in
Q&A
Replies: 1 comment 4 replies
|
I think the missing piece is |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I’ve been struggling to get OAuth working on an app I’m developing in an enterprise environment. I’ve added the
ArcGISAppIdandArcGISPortalUrlin myIConfigurationand confirmed that the AuthenticationManager is seeing them through DI. CallingAuthenticationManager.Login()doesn’t appear to immediately call anything, and even trying to stop theMapViewfrom displaying the default ESRI login credentials through the specifiedMapViewattributes or otherIConfigurationitems does not point to my enterprise portal, all of the network calls end up going to the vanilla ArcGIS online default/generateTokenendpoint.My OAuth2 stuff is registered correctly in my portal environment, I can plop everything manually in my browser url bar with a code response type specified and get one fine.
Am I missing something or doing something wrong?
All reactions