Skip to content

Add explicit documentation for Google storage token_file setting #549

Closed

Description

@teddywing

version 0.14.1
Python 3.5.0
OS X

When trying to configure vdirsyncer for the first time using the google_calendar storage, I didn't set the token_file setting because I couldn't figure out what its value was meant to be.

I ended up doing an OAuth handshake manually to get an access token, which worked at first, until the token expired some time later.

After looking through the code, I realised that vdirsyncer actually does do the OAuth dance, but it was completely not obvious to me beforehand that I should just set token_file to an empty file and have the program do the work.

Can some extra documentation be added to 12c22f1#diff-fd40cf2be7711772de9d8316da038cceR136 (or to the program itself) to clearly explain what to set token_file to?

Activity

  1. untitaker commented on Feb 8, 2017

    @untitaker
    Member
  2. teddywing commented on Feb 10, 2017

    @teddywing
    Author

    Cool, thanks! I'll plan to draft a pull request this weekend.

  3. untitaker commented on Feb 10, 2017

    @untitaker
    Member

    Great!

  4. untitaker commented on Feb 16, 2017

    @untitaker
    Member

    Hey @teddywing any update on this?

  5. teddywing commented on Mar 19, 2017

    @teddywing
    Author

    Sorry I never got back to you on this. I've been a little overwhelmed with work and life recently. Thanks for picking this up and adding the docs!

  6. added a commit that references this issue on Feb 13, 2025
    7f38102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions