From db9994b05aef957cc6814880752f98216b6ce9a6 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 26 Feb 2025 19:44:54 +0000 Subject: [PATCH] fixes the web client auth --- src/Yavsc.Server/Config.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/Yavsc.Server/Config.cs b/src/Yavsc.Server/Config.cs index bc579e5f..1ffaa06b 100644 --- a/src/Yavsc.Server/Config.cs +++ b/src/Yavsc.Server/Config.cs @@ -77,10 +77,8 @@ public static class Config RedirectUris = { "https://localhost:5003/signin-oidc", "http://localhost:5002/signin-oidc" }, - PostLogoutRedirectUris = { - "http://localhost:5002/signout-callback-oidc", - "https://localhost:5003/signout-callback-oidc" }, - + PostLogoutRedirectUris = { "https://localhost:5003/signout-callback-oidc", + "http://localhost:5002/signout-callback-oidc" }, AllowedScopes = { IdentityServerConstants.StandardScopes.OpenId, @@ -88,10 +86,6 @@ public static class Config IdentityServerConstants.StandardScopes.Email, IdentityServerConstants.StandardScopes.OfflineAccess, "scope2" } - , - AllowedCorsOrigins=new string[]{"*"}, - AllowRememberConsent=true - }, };