Hi,

You need to use the "hd" parameter to identify your own domain
account, without this parameter the service uses as default a regular
Google account ('[EMAIL PROTECTED]')

Url example:
https://www.google.com/accounts/AuthSubRequest?next=http%3A%2F%2Fyourwebapp.com%2FCalendar.php&scope=http://www.google.com/calendar/feeds/&secure=0&session=1&hd=yourAppsDomain.com";;

The function calendar_service.GenerateAuthSubURL does not have this
parameter implemented at the moment, you may need to modify the code
of this function.

You can find more information about AuthSub here:
http://code.google.com/apis/accounts/docs/AuthForWebApps.html

I also recommend checking the Calendar API Google Group:
http://groups.google.com/group/google-calendar-help-dataapi

Julian.

On Apr 19, 8:16 am, Jett <[EMAIL PROTECTED]> wrote:
> This is great news.
>
> Where can I get the list of valid values for the scope parameter? I am
> trying to create something using the python gdata api but I am getting
> an error since I don't know the proper url to use for my google apps
> domain. In the example code below, what is the Google App scope
> equivalent forhttp://google.com/calendar/feedsif I have acmecorp.com
> as my domain?
>
>         next = 'http://www.coolbloggersite.com/welcome.pyc'
>         scope = 'http://www.google.com/calendar/feeds'
>         secure = False
>         session = True
>         calendar_service = gdata.calendar.service.CalendarService()
>         authSubUrl = calendar_service.GenerateAuthSubURL(next, scope,
> secure, session);
>
>         c.loginurl = authSubUrl
>
> Thanks
>
> On Apr 15, 8:59 pm, "Julian (Google)" <[EMAIL PROTECTED]> wrote:
>
> > Hi everyone,
>
> > We are excited to announce that AuthSub has now been extended to
> > support Google Apps accounts as well!
>
> > AuthSub helps keep accounts secure by making it possible to share
> > certain information from those accounts without sharing the username
> > and password that protect them. We hope you and your Google Apps users
> > will
> > enjoy the added protection. For examlple, using AuthSub your
> > application will now have access to the Calendar, DocList and
> > Spreadsheets APIs.
>
> > Authentication for Web 
> > Applications:http://code.google.com/apis/accounts/docs/AuthForWebApps.html
>
> > The official Google Accounts API developer discussion 
> > group:http://groups.google.com/group/Google-Accounts-API
>
> > More information about the 
> > release:http://googledataapis.blogspot.com/2008/04/announcing-authentication-...
>
> > Julian
--~--~---------~--~----~------------~-------~--~----~
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