Skip to content
New issue

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

GitHub OAuth securityToken无效 #10

Closed
idkook opened this issue Jun 4, 2020 · 1 comment
Closed

GitHub OAuth securityToken无效 #10

idkook opened this issue Jun 4, 2020 · 1 comment

Comments

@idkook
Copy link

idkook commented Jun 4, 2020

因为Github返回的个人信息中,Email为null, 导致claims创建失败。
个人修复为:
new Claim(ClaimTypes.Email, user.Email ?? "")

@Meowv
Copy link
Owner

Meowv commented Jun 4, 2020

倒是没有注意这个问题,感谢提出。

@Meowv Meowv closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants