You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also: Have not found a streight-forward documentation on how to assign privileges to the service-account. Got stuck on unprivileged access and retracted to use imap with app-passwords.. https://support.google.com/accounts/answer/185833?hl=en
It seems the gmail api is stuck at creating the oauth token.
Here it calls the external flow module: https://github.com/domainaware/parsedmarc/blob/master/parsedmarc/mail/gmail.py#L30
This flow module states:
So basically it waits (forever) for you to open the browser and log-in interactively (from what I understand).
I had success using a service account for the non-interactive API access.
But for this to work, the _get_creds function needs to be rewritten to this:
Note that the content of the credentials_file.json needs to replaced by the service account key
The text was updated successfully, but these errors were encountered: