On Tue, Feb 17, 2009 at 10:57 AM, ankit <[email protected]> wrote: > > I am using the Google Calendar JavaScript API to perform authenticated > requests. I am facing a problem with the google.accounts.user.login > function. > At the beginning, after the user allows access to the application, the > application page gets loaded and then again user is taken to the > Access Request Page again. This keeps occurring repeatedly. > > However, after several times of trying, sometimes the app works > properly. > > You will understand better by going here -> > http://ankitahuja.com/apps/proxycal
Ankit, Try checking to see if the user is logged in before calling google.accounts.login(). You can do this by calling google.accounts.user.checkLogin(scope). Let me know if that makes a difference. -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
