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
Removed uid from request params in VKOAuth2Adapter #1627
Conversation
1 similar comment
resp.raise_for_status() | ||
extra_data = resp.json()['response'][0] | ||
email = kwargs['response'].get('email') | ||
if email: | ||
extra_data['email'] = email |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why drop this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because rest-auth passes the access_token as kwargs['response']
parameter. And code kwargs['response'].get('email')
throws exception: {AttributeError}'str' object has no attribute 'get'
Closing -- abandoned |
No description provided.