ClientLogin interface not working with opensocial service

0 views
Skip to first unread message

Arun Tahlan

unread,
Nov 3, 2007, 12:16:07 AM11/3/07
to OpenSocial Developers
Hi All

I have been trying to access the opensocial api from the context of
XUL/Javascript. For this I tried accessing their ClientLogin interface
which normally works with other services. It is giving
BadAuthentication error when I set the service as ot. Btw ot is
service type for opensocial

http://code.google.com/apis/opensocial/docs/gdata/people/developers_guide_protocol.html#client_login

I tried the same interface using cl (calendar) and writely (google
docs) services and it returned proper sid, lsid, auth
information.Anybody else also facing same issue..or knowing the
solution?

You can confirm by copy pasting the following html and using it to
test the ClientLogin interface

<html>
<body>
<form action="https://www.google.com/accounts/ClientLogin"
method="POST">

<input type="hidden" name="accountType" value="HOSTED_OR_GOOGLE"/>
Email Address : <input type="text" name="Email" />
<p/>
Password : <input type="password" name="Passwd" />
<p/>
Source : <input type="text" name="source" />
<p/>
Service : <input type="text" name="service"/>
<p/>
<input type="submit"/>
</form>
</body>
</html>

Arun Tahlan

unread,
Nov 3, 2007, 1:11:08 AM11/3/07
to OpenSocial Developers
Well I just noticed that the People, Activities and Persistance data
APIs have not been released. So its just Orkut Sandbox play for now,
it seems.


On Nov 3, 9:16 am, Arun Tahlan <aruntah...@gmail.com> wrote:
> Hi All
>
> I have been trying to access the opensocial api from the context of
> XUL/Javascript. For this I tried accessing their ClientLogin interface
> which normally works with other services. It is giving
> BadAuthentication error when I set the service as ot. Btw ot is
> service type for opensocial
>

> http://code.google.com/apis/opensocial/docs/gdata/people/developers_g...

Reply all
Reply to author
Forward
0 new messages