From e65051799dd1facaf86ae144d67e7573a6f4e153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ba=C5=9Fak=20ERDEM?= Date: Mon, 25 Oct 2021 19:05:56 +0300 Subject: [PATCH] Added IssuerUri --- .../src/EShopOnAbp.AuthServer/EShopOnAbpAuthServerModule.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/auth-server/src/EShopOnAbp.AuthServer/EShopOnAbpAuthServerModule.cs b/apps/auth-server/src/EShopOnAbp.AuthServer/EShopOnAbpAuthServerModule.cs index 93f5256c..fa2e0756 100644 --- a/apps/auth-server/src/EShopOnAbp.AuthServer/EShopOnAbpAuthServerModule.cs +++ b/apps/auth-server/src/EShopOnAbp.AuthServer/EShopOnAbpAuthServerModule.cs @@ -13,6 +13,7 @@ using System; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; +using IdentityServer4.Configuration; using IdentityServer4.Extensions; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; @@ -89,6 +90,11 @@ namespace EShopOnAbp.AuthServer Microsoft.IdentityModel.Logging.IdentityModelEventSource.ShowPII = true; var hostingEnvironment = context.Services.GetHostingEnvironment(); var configuration = context.Services.GetConfiguration(); + + Configure(options => + { + options.IssuerUri = configuration["App:SelfUrl"]; + }); Configure(options => {