KeyError: 'nickname' when signing up with github
cvzi opened this issue · comments
Describe the bug
When I try to sign up with github I get an error:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.6/site-packages/whitenoise/base.py", line 66, in __call__
return self.application(environ, start_response)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/root/Desktop/saythanks.io/saythanks/core.py", line 328, in callback_handling
nickname = user_detail_info['nickname']
KeyError: 'nickname'
To Reproduce
Steps to reproduce the behaviour:
- Click on "Create Your Thankfulness Inbox"
- Click "Sign up with GitHub"
- Opens github.com
- Grant permission on github.com
- Redirects to
https://saythanks.io/callback?code=AbCdEfG
- See error
I can reproduce this
same bug persists still :(
@cvzi, @rachejazz , @wasi-master
Strange! My saythanks inbox works okay! @Pavithratrdev will coordinate on your errors and ensure they are fixed.
I beleive the inbox works perfectly, it's just that we can't sign up using our github account
@rachejazz thanks, we will revert back with a fix shortly.
@cvzi, @rachejazz , @wasi-master : I'm hoping the problem was with the generation of Auth0 keys; it has been fixed now.
Could you please try again?
Yes it works for me
Works now. Thank you so much!
Working for me as well