Canno't get the generate token c#

API Discussion

I would like play with the blizzard API but I cannot connect to the API.
I'm trying to make an iOS application in c# (Xamarin.iOS), i don't know what is the problem. I use OpenID.AppAuth nuget which is a port of AppAuth.

The login works, I think, because I receive a mail from blizzard "You have granted [...] access to some of your Blizzard Account information."
But I'm not able to get the token.

I explain what I made:

In my iOS app, tap on button launch `AuthWithAutoCodeExchange` method. I set my redirect URI => http://localhost:5000/api/values/

I made a web service in C# which just redirect to my url scheme :
-> return Redirect("myurlscheme://");

But the callback is not catch by the AppDelegate of my app. I do not go into the `public override bool OpenUrl(UIApplication application, NSUrl url, string sourceApplication, NSObject annotation)` method.

The `public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)` method is here.

I don't know what I'm doing wrong.

Thank you in advance,


Join the Conversation

Return to Forum