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

Removed uid from request params in VKOAuth2Adapter #1627

Closed
wants to merge 2 commits into from

Conversation

asudoma
Copy link

@asudoma asudoma commented Feb 21, 2017

No description provided.

@asudoma asudoma changed the title Removed uid from request params Removed uid from request params in VKOAuth2Adapter Feb 21, 2017
@coveralls
Copy link

coveralls commented Feb 21, 2017

Coverage Status

Coverage increased (+0.009%) to 93.908% when pulling d887519 on asudoma:master into a94b8b6 on pennersr:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.009%) to 93.908% when pulling d887519 on asudoma:master into a94b8b6 on pennersr:master.

resp.raise_for_status()
extra_data = resp.json()['response'][0]
email = kwargs['response'].get('email')
if email:
extra_data['email'] = email
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why drop this?

Copy link
Author

@asudoma asudoma Mar 1, 2017

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'

@pennersr
Copy link
Owner

Closing -- abandoned

@pennersr pennersr closed this Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants