diff --git a/Yi.Abp.Net8/framework/Yi.Framework.AspNetCore.Authentication.OAuth/QQ/QQAuthenticationHandler.cs b/Yi.Abp.Net8/framework/Yi.Framework.AspNetCore.Authentication.OAuth/QQ/QQAuthenticationHandler.cs index fb79675c..4a2a6939 100644 --- a/Yi.Abp.Net8/framework/Yi.Framework.AspNetCore.Authentication.OAuth/QQ/QQAuthenticationHandler.cs +++ b/Yi.Abp.Net8/framework/Yi.Framework.AspNetCore.Authentication.OAuth/QQ/QQAuthenticationHandler.cs @@ -26,8 +26,7 @@ namespace Yi.Framework.AspNetCore.Authentication.OAuth.QQ new KeyValuePair("redirect_uri",Options.RedirectUri), new KeyValuePair("fmt","json"), new KeyValuePair("need_openid","1"), - new KeyValuePair("code",code), - new KeyValuePair("state","true"), + new KeyValuePair("code",code) }; var tokenModel = await SendHttpRequestAsync(QQAuthenticationDefaults.TokenEndpoint, tokenQueryKv);