On Jul 20, 8:23 am, "Christopher Allen"
<[EMAIL PROTECTED]> wrote:
> On 7/20/07, Chuckles Nabaztag <[EMAIL PROTECTED]> wrote:
>
> > AOL's solution is to this is OpenAuth:http://dev.aol.com/openauth
>
> Does anyone know if OpenAuth can be done on the client entirely in javascript?

(Disclaimer: I work for AOL)

Yes, OpenAuth can be done entirely in JavaScript. You have to open new
windows to go to the AOL servers to authenticate (Safari won't write
3rd party cookies if you load the AOL site in an iframe).

OpenAuth API docs are here:
http://dev.aol.com/openauth_api

Look at the JSON examples, and use "c" parameter to get JSONP-type
callbacks -- that allows you to use dynamically created script tags to
do the auth stuff. You will have to open a new window for some calls,
so use the succUrl parameter to get redirected back to your site.

I use OpenAuth for my AIM client, TinyBuddy IM (http://tybyim.com).
The whole app is just HTML, JS and CSS, and the nice thing about
OpenAuth is that my server does not see your password. It also uses
AOL's Web AIM API, so my server does not see your IM traffic either.
And I'm hoping that .mac accounts work too, since they are backed by
AIM (haven't tried it yet though).

I'm hoping to get the permission to open source the code soon, after I
convert the interface to iUI. I'm also testing SSL connection support,
to get encrypted IM sending. I'll post a note when I get the next
release out (within this next week), but you can follow more fine-
grained detail at the project blog:
http://journals.aol.com/tinybuddy/tinynotes/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to