I made a test with Xamarin.Auth on uwp, I got error System.NullReferenceException: 'Object reference not set to an instance of an object.'
 with code below:
            var authenticator = new OAuth2Authenticator(
                        "clientid",
                        "client serrect-@:?",
                        "openid profile",
                        new Uri("https://login.microsoftonline.com/common/oauth2/v2.0/authorize"),
                        new Uri("com.microrookie://oauth2redirect"),
                        new Uri("https://login.microsoftonline.com/common/oauth2/v2.0/token"),
                        null,
                        false);
            authenticator.Completed += Authenticator_Completed;
            authenticator.Error += Authenticator_Error;
            //authenticator.GetUI();
            //Frame.Navigate(authenticator.GetUI(), authenticator);
            var presenter = new Xamarin.Auth.Presenters.OAuthLoginPresenter();
            presenter.Login(authenticator); //error throw this line
 
     
     
    
 
    