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

First login #1

Open
SaFi2266 opened this issue May 14, 2017 · 1 comment
Open

First login #1

SaFi2266 opened this issue May 14, 2017 · 1 comment

Comments

@SaFi2266
Copy link
Owner

Hello,
After successful login with facebook, I got alerted "error" and this error message in console

[2017-05-14 04:08:56,864] ERROR in app: Exception on /users [POST] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/tryman/public/fb/app.py", line 25, in store_email email = request.json[0]['email'] KeyError: 'email'

@rohanil
Copy link

rohanil commented Jun 5, 2017

This was related to FB account's email permission. After trying with the new account, it works properly. There is one more thing to do here which is unblocking third-party cookies and site data from browser settings. Thanks.

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