OAuth and servers

My understanding of OAuth is the following:

    - client sends request token during redirect to server
    - Server displays authorization screen to resource owner
    - Resource owner provides uid and pw (not passed to client)
    - Server sends access token back to client
    - clients then users the Access token to gain access to a 
      resource

Open in new window


So I want to learn how to write a web service using OAuth.

Is there a web site I can communicate with that uses OAuth for my web service.  Something like yahoo, google, etc.  But this woud probably require previous exchange of tokens.  

So do I actually have to write a server as well ?

I am writing a client, and need a server to communicate with, what is the easiest path from here ?

Thanks
Anthony LuciaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mayank SAssociate Director - Product EngineeringCommented:
The client doesn't send any tokens to the server. The server creates and sends tokens to the client. I had explained it in this question clearly in detail as to what is created by whom and how these are exchanged:

http://www.experts-exchange.com/Security/Misc/Q_28490363.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mayank SAssociate Director - Product EngineeringCommented:
You can also try to communicate with an existing server that supports O-Auth, e.g., Twitter.

You can use Google Signpost for creating the client. Look at some sample code:

https://code.google.com/p/oauth-signpost/wiki/TwitterAndSignpost

https://github.com/mttkay/signpost-examples
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Security

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.