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

Instantiate new AccessToken when calling AccessToken.create #89

Closed
wants to merge 4 commits into from

Conversation

johnhaley81
Copy link
Contributor

This fixes #88

John Haley and others added 4 commits June 2, 2016 13:10
The `AccessToken` object created with `create` was actually a singleton that was being used as an instanciated object.

This could allow multiple token refreshes that happen at the same time to hand back an oauth key for another user. This change should fix the issue.
@johnhaley81
Copy link
Contributor Author

@jonathansamines this fixes a CRITICAL SECURITY ISSUE that allows users of this library to pass back authentication tokens of a single user to multiple callers.

@jonathansamines
Copy link
Collaborator

Hi @johnhaley81 sorry for the late response. Would you mind to reopen this PR to develop? I only can make a new release (along with other changes) from that point ;)

@johnhaley81
Copy link
Contributor Author

@jonathansamines Done! #92

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.

Auth tokens can be given to the wrong user by simultaneous refresh requests
3 participants