datatogether / task_mgmt

Service for managing & executing archiving tasks written in Golang
https://task-mgmt.archivers.space
GNU Affero General Public License v3.0
2 stars 1 forks source link

OAuth Callback returning "Email is required" #1

Open flyingzumwalt opened 7 years ago

flyingzumwalt commented 7 years ago

When I try to authorize via github, it seems to work until github redirects me back to https://ident.archivers.space/oauth/github/callback?code=d17940f81e4063482032&state=aHR0cDovL3Rhc2stbWdtdC5hcmNoaXZlcnMuc3BhY2U%3D

At that point I get this error:

{"meta":{"code":400,"message":"Email is required"}}
b5 commented 7 years ago

ah what a nice lesson to learn. Not all GitHub accounts will provide email addresses. I've made & shipped some quick edits that might solve the problem for you, but will need to write proper tests to confirm. If you could retry & report back if it works now or not that'd be a huge help!