From e4b5f4742c4d69b2574acee69b4d081afd076f49 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 15 Mar 2021 20:12:09 +0000 Subject: [PATCH] reverts some continue op OnPageEncountered --- src/Yavsc.Abstract/Authentication/OAuthenticator.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Yavsc.Abstract/Authentication/OAuthenticator.cs b/src/Yavsc.Abstract/Authentication/OAuthenticator.cs index 5701ea80..20c44546 100644 --- a/src/Yavsc.Abstract/Authentication/OAuthenticator.cs +++ b/src/Yavsc.Abstract/Authentication/OAuthenticator.cs @@ -243,13 +243,13 @@ namespace Yavsc.Authentication if (url.AbsoluteUri.StartsWith(this.redirectUrl.AbsoluteUri)) { - // if (!this.redirectUrl.Equals(url)) { + if (!this.redirectUrl.Equals(url)) { // this is not our redirect page, // but perhaps one one the third party identity providers // One don't check for a state here. // - /* if (fragment.ContainsKey("continue")) { + if (fragment.ContainsKey("continue")) { var cont = fragment["continue"]; // TODO continue browsing this address @@ -257,8 +257,8 @@ namespace Yavsc.Authentication tcs.SetResult(new Uri(cont)); tcs.Task.RunSynchronously(); } - return;*/ - // } + return; + } var all = new Dictionary(query); foreach (var kv in fragment)