Hi, 
I'm working on the SSO solution for a client - part of the authentication 
process includes a password push via the provisioning API. 

I'm testing out the multi domain feed ( 
https://apps-apis.google.com/a/feeds/user/2.0/test.g5.domain.com/user ) 
I have a user in a subsiduary domain/user, [email protected] 
. 

When i try updating the users password (PHP code, not using Zend libraries) 
using the feed like so. 
$entry = "<atom:entry xmlns:atom='http://www.w3.org/2005/Atom' 
xmlns:apps='http://schemas.google.com/apps/2006'> 
<apps:property name='password' value='".md5($new_pass)."' 
hashFunctionName='MD5' /> 
</atom:entry>"; 

it seems to be storing the hashed string on the Google end, when i disable 
SSO and login with the username, i have to used the hashed version of the 
password in order to login. I cannot use the cleartext password in the 
Google login form. 

If i use this in the atom feed eg. <apps:login password="md5($new_pass)" 
hashFunctionName='MD5' /> i still have the same problem. 

Do i need to specify the username in the apps:login atom value, or can i 
post it like i have. 

What is the correct atom entry that i must post to that feed url in order to 
change a users password, or is there something buggy in the API? 

Regards, 

Neil Rutherfoord

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to