Thanks Alain, That did the trick, I just changed it to use SSL as https and it worked perfectly fine. Now, as the google help suggests Clientlogin cannot have a multiple scope. By this I understand that at one time I can access just one google service, as in the following: (I am using PL/SQL way to do this) Here amp is '&' and service=cl params := 'Email='||p_username|| amp||'Passwd='||p_password|| amp||'service=cl'|| amp||'source=PRPI-ApexGoogleAuthentication-1.0'; Plus I send required headers with my request along with the above params I can access 'https://www.google.com/calendar/feeds/default/private/ full' and parse the xml/atom response successfully.
However, In the same app to access services 'gmail feeds' I change service=email params := 'Email='||p_username|| amp||'Passwd='||p_password|| amp||'service=email'|| amp||'source=PRPI- ApexGoogleAuthentication-1.0'; Plus I send required headers with my request along with the above params Now, when I try to request https://mail.google.com/mail/feed/atom using the new Auth token It says 401 authentication failure. Is there some kind of a token conflict happening here. Thanks, Prateek On Mar 25, 8:40 pm, Alain <[email protected]> wrote: > Hello Prateek, > > What are the data that you send to the ClientLogin URL? What service and > scope do you use? > Also, I would suggest using > "https://www.google.com/calendar/feeds/default/private/full" instead of the > non-SSL feed. > > Best, > Alain -- 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://code.google.com/apis/calendar/community/forum.html
