OAuth and servers

Posted on 2014-08-18
Last Modified: 2014-08-19
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 

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 ?

Question by:Anthony Lucia
    LVL 30

    Accepted Solution

    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:
    LVL 30

    Assisted Solution

    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:

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
    This story has been written with permission from the scammed victim, a valued client of mine – identity protected by request.
    Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now