Parent: X.COM, domain auth enabled, key X.COM, secret ABC
Child: Y.X.COM, user Z
Trying to access Docs as user Z...@Y.X.COM using the X.COM key and ABC
secret. Fails every time with 401- "Token invalid - Invalid AuthSub
token"
Can anyone point to source code that does this? Is it just not
supported?
No such limitations are mentioned on http://www.google.com/support/a/bin/answer.py?answer=182081...
Thanks!
Jan
Sample code that demonstrates the problem:
CON_KEY = 'Y.COM'
CON_SECRET = '####'
user = 'valid...@X.Y.COM'
import gdata.docs.client
import gdata.docs.data
dclient = gdata.docs.client.DocsClient(source='Test')
dclient.auth_token = gdata.gauth.TwoLeggedOAuthHmacToken(CON_KEY,
CON_SECRET, user)
dclient.ssl = True
print dclient.GetResources(uri='https://docs.google.com/feeds/default/
private/full/folder:root/contents')
Cheers
Jan