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

Remove redundant checking for oauth_token & oauth_token_secret #357

Merged
merged 1 commit into from Sep 12, 2015

Conversation

derek-dchu
Copy link
Contributor

Remove redundant checking for oauth_token & oauth_token_secret when using OAuth1 method from requests_oauthlib, because it is already handling None values for us.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) when pulling 8eb8c2d on derek-dchu:master into 245873b on ryanmcgrath:master.

@michaelhelmick
Copy link
Collaborator

Have you tested obtaining authentication tokens? I think we did that logic because there was an issue with setting oauth_token and oauth_token_secret to None when calling OAuth1

@derek-dchu
Copy link
Contributor Author

I successfully updated status from the first step that is authorizing my app by calling get_authentication_tokens() in which we don't have oauth_token, oauth_token_secret. It generated a callback as usual and everything work flawlessly after that.

michaelhelmick added a commit that referenced this pull request Sep 12, 2015
Remove redundant checking for oauth_token & oauth_token_secret
@michaelhelmick michaelhelmick merged commit 00d9d6a into ryanmcgrath:master Sep 12, 2015
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

Successfully merging this pull request may close these issues.

None yet

3 participants