+ @if (Model.ProviderUnknown)
+ {
+
+ @string.Format(Loc["Admin.Plugins.ExternalAuthenticationMethods.OidcLinks.ProviderUnknown"].Value,
+ Model.ConfiguredAuthority)
+
+ }
+ else if (Model.ProviderChanged)
+ {
+
+ @string.Format(Loc["Admin.Plugins.ExternalAuthenticationMethods.OidcLinks.ProviderChanged"].Value,
+ Model.LinkedAuthority, Model.ConfiguredAuthority)
+
+ }
+
+ @string.Format(Loc["Admin.Plugins.ExternalAuthenticationMethods.OidcLinks.Info"].Value,
+ Model.ConfiguredAuthority, Model.LinkCount)
+
+
+
+ }
diff --git a/src/Web/Grand.Web.Admin/Controllers/ExternalAuthenticationController.cs b/src/Web/Grand.Web.Admin/Controllers/ExternalAuthenticationController.cs
index 66de5cb3ed..d8f6f20202 100644
--- a/src/Web/Grand.Web.Admin/Controllers/ExternalAuthenticationController.cs
+++ b/src/Web/Grand.Web.Admin/Controllers/ExternalAuthenticationController.cs
@@ -3,6 +3,8 @@
using Grand.Business.Core.Interfaces.Common.Configuration;
using Grand.Domain.Permissions;
using Grand.Domain.Customers;
+using Grand.Infrastructure.Configuration;
+using Grand.Business.Core.Interfaces.Common.Localization;
using Grand.Infrastructure.Plugins;
using Grand.Web.AdminShared.Extensions.Mapping;
using Grand.Web.AdminShared.Models.ExternalAuthentication;
@@ -41,11 +43,56 @@ public ExternalAuthenticationController(IExternalAuthenticationService openAuthe
#region Methods
- public IActionResult Methods()
+ public async Task