Skip to content

refresh token does not update token in session #55

@craigham

Description

@craigham

Thanks for a great library.

I have a process which is very long running, and I am having trouble with auth token expiring. This is despite my calling the refresh_token method.

I think I may have found the problem.

In the constructor the following is called:
# Getting session if self.oauth_version == 'oauth1': self.session = self.oauth.get_session((self.access_token, self.access_token_secret)) else: self.session = self.oauth.get_session(token=self.access_token)

However, I don't think that session variable is getting updated with the new access token.

Does this make sense?

Thanks,
Craig

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions