domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
986 stars 214 forks source link

Request had insufficient authentication scopes #310

Closed sableeyed closed 2 years ago

sableeyed commented 2 years ago

I have a project with the Gmail API enabled, and scopes of:

[gmail_api]
scopes = https://www.googleapis.com/auth/gmail.modify, https://www.googleapis.com/auth/gmail.labels

After going to the authorization link and allowing access, the console returns an error of:

ERROR:cli.py:831:Gmail API Error: Scope has changed from "https://www.googleapis.com/auth/gmail.modify  https://www.googleapis.com/auth/gmail.labels" to "https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.labels".

EDIT: delete the space in scope list -.-

seanthegeek commented 2 years ago

Fixed in 8.0.2 so spaces don't matter. 😊