Skip to content

Commit

Permalink
Updated docs for support of access token
Browse files Browse the repository at this point in the history
  • Loading branch information
ojhaujjwal committed Oct 24, 2014
1 parent ba624a5 commit 5f9b73c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ return [

## How It Works
### Login with OAuth 2.0
1. **Client:** Client sends a `POST` request to the server at */oauth/token* with oauth2 authorization code.
2. **Server:** Then *authorization code* is exchanged for *provider access token*.
1. **Client:** Client sends a `POST` request to the server at */oauth/token* with oauth2 authorization code or access token.
2. **Server:** With *authorization code*, *authorization code* is exchanged for *provider access token*.
3. **Server:** User information is retrived using the *provider access token* from **Step 2**.
4. **Server:** Look up the user by the unique *provider id*. If user already exists, grab
the existing user, otherwise create a new user account.
Expand Down

0 comments on commit 5f9b73c

Please sign in to comment.