From 7f3f414ce3f1154ed11408298019189e100dd7d7 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Wed, 23 Feb 2022 15:59:38 +0800 Subject: [PATCH] fix(settings): fix AbpIdentity connection string. --- aspnet-core/LINGYUN.MicroService.All.sln | 4 ++-- .../Authentication/QQAuthenticationExtensions.cs | 8 ++++---- .../appsettings.Development.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aspnet-core/LINGYUN.MicroService.All.sln b/aspnet-core/LINGYUN.MicroService.All.sln index d8dc50f2d..a584101cc 100644 --- a/aspnet-core/LINGYUN.MicroService.All.sln +++ b/aspnet-core/LINGYUN.MicroService.All.sln @@ -382,9 +382,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.T EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.LinkUser", "modules\identityServer\LINGYUN.Abp.IdentityServer.LinkUser\LINGYUN.Abp.IdentityServer.LinkUser.csproj", "{25378F9D-2A66-4568-AAC6-E9282ACA3DD3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LINGYUN.Abp.IdentityServer.QQ", "modules\identityServer\LINGYUN.Abp.IdentityServer.QQ\LINGYUN.Abp.IdentityServer.QQ.csproj", "{A34CCD3F-28A1-4BAD-A995-EB8720CE4105}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.QQ", "modules\identityServer\LINGYUN.Abp.IdentityServer.QQ\LINGYUN.Abp.IdentityServer.QQ.csproj", "{A34CCD3F-28A1-4BAD-A995-EB8720CE4105}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LINGYUN.Abp.Tencent.QQ", "modules\cloud-tencent\LINGYUN.Abp.Tencent.QQ\LINGYUN.Abp.Tencent.QQ.csproj", "{3FCB1BCD-34BC-4F66-968F-38DB28371D0F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Tencent.QQ", "modules\cloud-tencent\LINGYUN.Abp.Tencent.QQ\LINGYUN.Abp.Tencent.QQ.csproj", "{3FCB1BCD-34BC-4F66-968F-38DB28371D0F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.QQ/Microsoft/AspNetCore/Authentication/QQAuthenticationExtensions.cs b/aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.QQ/Microsoft/AspNetCore/Authentication/QQAuthenticationExtensions.cs index 579b1cb16..a748fa99c 100644 --- a/aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.QQ/Microsoft/AspNetCore/Authentication/QQAuthenticationExtensions.cs +++ b/aspnet-core/modules/identityServer/LINGYUN.Abp.IdentityServer.QQ/Microsoft/AspNetCore/Authentication/QQAuthenticationExtensions.cs @@ -23,7 +23,7 @@ namespace Microsoft.AspNetCore.Authentication /// public static AuthenticationBuilder AddQQConnect( this AuthenticationBuilder builder, - Action configureOptions) + Action configureOptions) { return builder .AddQQConnect( @@ -36,7 +36,7 @@ namespace Microsoft.AspNetCore.Authentication public static AuthenticationBuilder AddQQConnect( this AuthenticationBuilder builder, string authenticationScheme, - Action configureOptions) + Action configureOptions) { return builder .AddQQConnect( @@ -51,10 +51,10 @@ namespace Microsoft.AspNetCore.Authentication this AuthenticationBuilder builder, string authenticationScheme, string displayName, - Action configureOptions) + Action configureOptions) { return builder - .AddOAuth( + .AddOAuth( authenticationScheme, displayName, configureOptions); diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json index d8cd5a3d3..fa561c1c8 100644 --- a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/appsettings.Development.json @@ -25,7 +25,7 @@ "ConnectionStrings": { "Default": "Server=localhost;Database=Messages;User Id=root;Password=123456", "MessageService": "Server=localhost;Database=Messages;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=Messages;User Id=root;Password=123456", + "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", "AbpTenantManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456",