From 1117440a04a0a90fc59c3af3e649acedbcbbcac6 Mon Sep 17 00:00:00 2001 From: Rick Butterfield Date: Sat, 6 Nov 2021 11:40:05 +0000 Subject: [PATCH] Fix for #11591 --- src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs b/src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs index 4b970e4b72f9..c043cf73d2b2 100644 --- a/src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs +++ b/src/Umbraco.Web.BackOffice/Security/BackOfficeSignInManager.cs @@ -78,6 +78,7 @@ public async Task ExternalLoginSignInAsync(ExternalLoginInfo login if (shouldSignIn == false) { Logger.LogWarning("The AutoLinkOptions of the external authentication provider '{LoginProvider}' have refused the login based on the OnExternalLogin method. Affected user id: '{UserId}'", loginInfo.LoginProvider, user.Id); + return SignInResult.NotAllowed; } }