We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSharp.Identity.OAuth2.QQ.QQHandler类中,第60行:
`
string json2 = await userInformationResponse.Content.ReadAsStringAsync(); JObject payload = JObject.Parse(json2); JsonDocument document = JsonDocument.Parse(json2); //identity.AddClaim(new Claim(ClaimTypes.NameIdentifier, openId, ClaimValueTypes.String, Options.ClaimsIssuer)); payload.Add("openid", openId);//注意这里重点 OAuthCreatingTicketContext context = new OAuthCreatingTicketContext(new ClaimsPrincipal(identity), properties, Context, Scheme, Options, Backchannel, tokens, document.RootElement);
` 以上代码中,payload.Add("openid", openId),之后,没有任何地方有使用payload,应该是有BUG,正确代码应该是向JsonDocument中增加键值对吧
The text was updated successfully, but these errors were encountered:
No branches or pull requests
描述一下BUG
OSharp.Identity.OAuth2.QQ.QQHandler类中,第60行:
`
`
以上代码中,payload.Add("openid", openId),之后,没有任何地方有使用payload,应该是有BUG,正确代码应该是向JsonDocument中增加键值对吧
运行环境
The text was updated successfully, but these errors were encountered: