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

data['email'] raises KeyError with velruse.google.scope = 'opend profile' #126

Open
invisibleroads opened this issue Aug 1, 2013 · 2 comments

Comments

@invisibleroads
Copy link

In velruse.providers.google_oauth2, using velruse.google.scope = 'opend profile' provides the following keys:

>> data.keys()
[u'family_name', u'name', u'picture', u'locale', u'gender', u'birthday', u'link', u'given_name', u'id']

Since email is not available, data['email'] raises KeyError

@invisibleroads
Copy link
Author

Using velruse.google.scope = 'opend' also raises the same KeyError.

@mmerickel
Copy link
Collaborator

whoops, if we're letting those be optional then I guess that'll have to be updated

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