Open ldng opened 9 years ago
I would add that when I use the credential.access_token directly in the OAuth 2.0 Playground in step 2, I do get the same results, it works for Drive but not for EmailSettings.
I have the same problem with email settings. I've tried the code above and other trial-error tests always obtaining an error.
I've been easily using for a lot of months something like this:
import gdata.apps.emailsettings.client
client = gdata.apps.emailsettings.client.EmailSettingsClient(domain='my.domain')
client.ClientLogin(email='myemail', password='mypassword', source='myapp')
client.UpdateSignature(username='myusername', signature='mysignature')
Someone knows the new code needed to replace this old one ? I've been searching around and I think the problem arised with the changes in validation.
Thanks in advance, regards
Also tried : EmailSettingsClient + AuthSubToken, EmailSettingsClient + client.auth_token override, EmailSettingsClient + HttpRequest(headers=additional_headers), EmailSettingsClient + OAuth2TokenFromCredentials(credentials).authorize
Could someone else confirm it works (by actually trying, please) and maybe explain what I'm doing wrong here ?
Many thanks.