Skip to content

[WIP] Switch sheets/quickstart to from oauth2client to google-auth#60

Merged
erickoledadevrel merged 2 commits intogoogleworkspace:masterfrom
slokhorst:update-auth
Jan 16, 2019
Merged

[WIP] Switch sheets/quickstart to from oauth2client to google-auth#60
erickoledadevrel merged 2 commits intogoogleworkspace:masterfrom
slokhorst:update-auth

Conversation

@slokhorst
Copy link
Copy Markdown
Contributor

This is a start at tackling #10. Please review so I can convert all samples in one go.

Unfortunately, we are losing oauth2client.file.Storage, so we have to manually (de)serialize and write/read the token file. The solution I have used here is to use pickle, but this adds another dependency, and a bunch of lines of boilerplate code. There might be a better solution.

Copy link
Copy Markdown

@erickoledadevrel erickoledadevrel left a comment

Choose a reason for hiding this comment

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

Thanks for doing the leg work here, and sorry for the long delay with the review. I've left a bunch of comments, let me know if anything is unclear. I'm also happy to pick up this work myself, now that you've come up with a working POC.

@slokhorst slokhorst force-pushed the update-auth branch 3 times, most recently from 2f82e9a to 2f8298b Compare January 11, 2019 20:44
@slokhorst slokhorst force-pushed the update-auth branch 2 times, most recently from 82c686f to eafdba9 Compare January 11, 2019 21:23
@slokhorst
Copy link
Copy Markdown
Contributor Author

@erickoledadevrel thanks! I've made those changes and also converted all other quickstarts which use the same auth flow.

Copy link
Copy Markdown

@erickoledadevrel erickoledadevrel left a comment

Choose a reason for hiding this comment

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

Great work!

@erickoledadevrel erickoledadevrel merged commit 192ee1b into googleworkspace:master Jan 16, 2019
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.

2 participants