I followed this tutorial but I can't get the URL redirect working. Maybe I have misunderstood but this is what I've tried ...
I added this URL Scheme to info.plist: com.spike.Xamarin.OAuth:/oauth2redirect
I override the AppDelegate.OpenUrl method(s) (both overloads) and implement the code from the tutorial
I pass same URL to the Xamarin.Auth.OAuth2Authenticator
ctor.
I add an event handler to the Xamarin.Auth.OAuth2Authenticator.Completed
event, to fetch the access token and so on.
I registered the URL reversed: OAuth.Xamarin.spike.com:/oauth2redirect
What happens is I get to the login page and I'm able to fill in my credentials as expected. But the final redirect never hits the AppDelegate.OpenUrl method.
What am I getting wrong here?
Answers
Hi - did you ever get this resolved? Thanks.