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

The null reference is thrown in
OAuth2Authenticator.csfor UWP. On Line 790, code calls:For UWP this throws an
InvalidOperationException(see authors comments in catch handler); since task_scheduler is null, a null reference exception is subsequently thrown.The fix appears to be simple, juat prefix the offending code with:
I am new to these proceedings, how do I submit my suggestion to the authors?