OAuth Protocol

OAuth Protocol

OAuth stands for Open Authentication. It lets an HTTP client and a HTTP server to prove their identity to one another.
There are 7 steps in this protocol(set of rules) as follows:-
OAuth:
  1. The client makes a request and appends a request_token variable to the HTTP request
  2. The server takes the request_token and sends it to the client in then HTTP response
  3. The client takes the request_token receive fron the server and matches it with its own request_token and if both match the client knows that the server is the one who claims it to be
  4. The client makes another HTTP request with the same request_token
  5. The server receives the request_token and matches it with the previous request of request_token and if it matches, the server sends another variable caled the access_token to the client.
  6. The client in the next HTTP request sends this access_token
  7. In this last step, the server matches access_token sent by the client and the one which it had sent and if it matches, the client is genuine one

Comments

Popular posts from this blog

Laravel | PHP | Basics | Part 2

Apache Hadoop | Running MapReduce Jobs

Parallel Database design, query processing