From a379ac0ab3a40b3999589d378dbee7d820c56a3d Mon Sep 17 00:00:00 2001 From: liguoyang Date: Fri, 21 Jun 2024 00:40:57 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.User/Identity/Controllers/OAuth2Controller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.User/Identity/Controllers/OAuth2Controller.cs b/Src/Dlhis.User/Identity/Controllers/OAuth2Controller.cs index e76e48dd..543f2978 100644 --- a/Src/Dlhis.User/Identity/Controllers/OAuth2Controller.cs +++ b/Src/Dlhis.User/Identity/Controllers/OAuth2Controller.cs @@ -26,7 +26,7 @@ public class OAuth2Controller : ControllerBase [HttpPost("clientgrant")] public async Task ClientGrant(ClientGrantRequest request) { - var authority = _identityServerOption.Value.Authority; + var authority = "http://face.jinkosolar.com/oauth2";// _identityServerOption.Value.Authority; var httpClient = _httpClientFactory.CreateClient();