Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-1022

Catch AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID error and request new auth token from Google and update DB

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: Matunuck, 2.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 1, Sprint 2 - Cumberland, Sprint 3 - Cumberland

      Description

      See AML-1018 (which was actually invalid due to a manual change to the DB).

      This sub-task is to protect our system if Google decides to change the expiration time for their auth tokens. Our system currently relies on logic that happens when an instance of GoogleAdWordsAPI is created that figures out if an auth token is expired based on whether the date in `sesystem`.googleAuthToken is 6 or more days old. But if Google ever changed the expiration time to 5 days, our system would fail so we should have a mechanism in place to catch these errors and automatically request a new token from Google and update our DB.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                caitlyn Caitlyn Duggan (Inactive)
                Reporter:
                caitlyn Caitlyn Duggan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: