AnsweredAssumed Answered

oAuth and CurrentUser

Question asked by jparfitt on Aug 3, 2015
Latest reply on Aug 11, 2015 by jparfitt

I have oAuth working - however the current user always comes back as null after I type my username and password:

 

 

 

                IdentityManager.Current.OAuthAuthorizeHandler = new Esri.ArcGISRuntime.Toolkit.Security.OAuthAuthorizeHandler();

                var item = await Esri.ArcGISRuntime.Portal.ArcGISPortalItem.CreateAsync(portal, "367f0a8a210d49218f7cb7bf5da994c8");

                var portal = await Esri.ArcGISRuntime.Portal.ArcGISPortal.CreateAsync();

                var user = portal.CurrentUser; //comes back null

 

 

How do I get the current user without re-authenticating?

Outcomes