Hi,

On the PHP Library, ZenGdata, there is a good example on how to use
AuthSub (I used it with SSO), there you can see how to use the session
token to authenticate.
Check the function processPageLoad().

PHP Library:
http://framework.zend.com/download/gdata

The samples is on the library in this path:
ZendGdata-1.0.3/demos/Zend/Gdata/Calendar.php

You need to add the $hd parameter for the AuthSub to your domain.
Since the sample is for Google.com and does not use the $hd parameter.

http://code.google.com/apis/accounts/docs/AuthForWebApps.html#AuthSubRequest

If you are not using PHP, maybe you can try to follow the same steps
from the sample in the other programing language.

Julian.

On Apr 24, 5:10 pm, wachaca <[EMAIL PROTECTED]> wrote:
> Hello,
> I have a domain that has SSO enabled and it's working great.
>
> The issue I have is that I have to build a web application which
> allows the user to import contacts into his personal list.
> In order for this application to create contacts, I need to
> authenticate the user and get a token, but I am having troubles
> figuring out how it should work with Authsub and SSO.
>
> I cannot use clientLogin because the user does not know their password
> on google apps.
>
> So how do I get a token?
>
> Any thoughts?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps 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-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to