Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. # Simplified OAuth 2 workflow for dummies (me!)
  2.  
  3. ### User case
  4. A user wants profile data from an app.
  5.  
  6. ### Workflow
  7. 1. User makes a request to a client (website, mobile app, etc).
  8. 2. Client (may) redirect the user to auth server login form.
  9. 4. User logs into the auth server.
  10. 5. Auth server validates previous credentials and returns an access token to the client.
  11. 6. Client sends the access token to the app.
  12. 7. App asks to the auth server if the token is valid.
  13. 8. Auth server validates the token and returns info to the app (TODO complete which kind of information returns, exp date ...)
  14. 9. App provides data to the client.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement