Can you tell us about your architecture?  Will the JavaScript be
running in users' browsers?  How will it interact with the websites?
What benefit do you hope to gain by using OAuth?

Instead of running OAuth software in users' browsers, it's often a
better idea to run it in web servers, because they can keep secrets
(such as the OAuth consumer secret).  In a typical architecture, the
OAuth Consumer and Service Provider are websites; the User is
represented by a browser.

There's some sample code in GoogleCode.  To get a copy:
svn checkout http://oauth.googlecode.com/svn/code/javascript/
The samples are in javascript/example.  Start with AJAX.html.

On Aug 3, 10:38 pm, viswa <[email protected]> wrote:
> I am planning to create an app that uses JavaScript and it needs to
> use OAuth to authenticate user for a website. Can anyone help me out
> please? Any sample code? I know about the Google Code Javascript OAuth
> library but I am not sure how to implement that.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" 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/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to