GAM-team / GAM-team/got-your-back

TypeError: verify_oauth2_token() got an unexpected keyword argument 'clock_skew_in_seconds'

Open
#376 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.1k
Forks
245
PR merge metrics
No merged PRs in 30d

Description

The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:
* I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue.
* I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki

Full steps to reproduce the issue:
1. ./gyb.py --email name@company.com
2. type "7" to continue
3. paste link into browser: https://gyb-shortn.jaylee.us/ma833h
4. click "Allow"
5. paste new link into terminal: http://127.0.0.1:8080/?state=mZtB2rXo5RgQ9G9dENY5NMQQjR4UGt&code=4/0AX4XfWgVf2Llmaeb_utv_kzBCBw2YAPkcmEdfm52nUnyqbVaTseaPl_o20gOP1vww70KlQ&scope=email%20https://www.googleapis.com/auth/userinfo.email%20https://mail.google.com/%20https://www.googleapis.com/auth/apps.groups.migration%20https://www.googleapis.com/auth/drive.appdata%20openid&authuser=0&hd=company.com&prompt=consent
6. "The authentication flow has completed." -> TypeError: verify_oauth2_token() got an unexpected keyword argument 'clock_skew_in_seconds'

Expected outcome (what are you trying to do?): This should start backing up my emails, but ends in an error

Actual outcome (what errors or bad behavior do you see instead?): error as listed

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the OAuth authentication flow after the browser callback and search for the verify_oauth2_token call that receives clock_skew_in_seconds. Reproduce the command sequence from the issue, then verify that authentication completes and the email backup begins without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.