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

If user do not set the public email in github, using login with github will give a 400 error. #51

Closed
yimity opened this issue Apr 30, 2024 · 0 comments

Comments

@yimity
Copy link

yimity commented Apr 30, 2024

Describe the bug
If user do not set the public email in github, using login with github will give a 400 error.
it's because when you do not set the public email, github(https://api.github.com/user) will return a user info(GitHubUser) without email.

To Reproduce
remove the public email in github, and then login with github.

Expected behavior
A clear and concise description of the message to users.

Screenshots
image

Additional context

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