Reputation: 1523
I'm currently on developing some little application for iOS and Android. Therefore I need an OAuth2 authentication.
How I proceeded (from here)
Xamarin.Auth
Use the button on the about page to trigger a function with the following:
var authenticator = new OAuth2Authenticator(
"CLIENTID"
,
"SCOPE",
new
Uri("AUTH_URL"),
new Uri("REDIRECT_URL)
null,
true);
global::Xamarin.Auth.Presenters.XamarinIOS.AuthenticationConfiguration.Init();
Info.plist
I'm using the Xamarin Live Player to deploy this on my iPhone 7. When I'm triggering the button, I get the following error message:
Uncaught Exception: Bad convert with overflow instruction 'IL_0001: conv.ovf.i.un' (NInterpretExcetion)
Some ideas how to fix this?
Upvotes: 0
Views: 58