Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    I want to use the refresh_token (saved in a database) to retrieve a new access_token later. If I use oauth2client.client.GoogleCredentials, as you've suggested here, should I save the access_code also along-with the refresh_code in my database for future use? Commented Jul 8, 2017 at 15:48
  • 3
    you can set access_token to None (as you're renewing the token anyway), and expires_at can be None as well Commented Dec 29, 2017 at 7:52