Hi,

The current PHP client library does not explicitly handle AuthSub for Google
Apps account yet.  But this can be remedied easily if you the do the
following to get AuthSub to work with Google Apps account -

After you call getAuthSubSessionToken() to get the authentication URI -

you just need to append an extra param "hd=[YOUR_DOMAIN]" to notify the auth
server that this is an auth request for Google Apps.  For example:

https://www.google.com/accounts/AuthSubRequest?next=blah.com/index.html&scope=http%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds%2F&session=0&secure=0&hd=
mydomain.com

Hope that helps,
Austin

On Fri, May 2, 2008 at 10:24 AM, MathiasG <[EMAIL PROTECTED]> wrote:

>
> I am attempting to use the GData feeds using PHP to interact with
> Google Calendar. What I've found early on is it is fairly straight
> forward and simple to authenticate using AuthSub if you have a regular
> gmail account.  But if I use Google Apps along with my own email
> address (ie: [EMAIL PROTECTED]), then the AuthSub method does not
> recognize the session for that. Is this a flaw with Google Apps? How
> do I use the AuthSub method (http://www.google.com/calendar/feeds/
> default/owncalendars/full<http://www.google.com/calendar/feeds/default/owncalendars/full>)
> to authenticate gmail users in Google Apps?
> Thanks.
> --
> MathiasG
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

  • AuthSub MathiasG
    • Re: AuthSub Austin (Google)

Reply via email to