Closed simplynewbie closed 9 years ago
I dont know why but today i can not upload image or edit comment here so i comment this:
__ I try:
private void WBrowser_OnNavigated(object sender, NavigationEventArgs e)
{
if (e.Uri.ToString().StartsWith("the-link-after-clicking-ALLOW")) //
{
// Is the-link-after-clicking-Allow https://localhost:44303/callback?code=... ?
// If yes, i'll try this:
CodeToken = e.Uri.Fragment.Split('?')[0].Replace("code=", "");
// ...
}
}
We don't do any active support anymore. Think of AS as a sample.
You need to debug your way through yourself.
thank you, i'm sorry :(
Excute me, can you show me exactly the link after click Allow from:
to get the code. I use WPF client and i try this code: __ I plays the debug (of your code flow sample) and it shows code in ViewBag.Code but i don't know how it can return that code.
And where i can change this url "https://localhost:44303/callback" of Code Flow? I mean only text, example: http://abc.com/callback