Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. @startuml
  2.  
  3. title "OAuth2 Authorize Scope Request"
  4.  
  5. actor User
  6. entity "Service 1" as MS1
  7. entity "Service 2" as MS2
  8. database SSO
  9.  
  10. User -> MS1 : Login
  11. MS1 -> SSO : Login Redirect
  12. SSO -> User : HTML Form / JSON
  13. User -> SSO : Credentials
  14. SSO -> User : Single-use code
  15. User -> MS1 : Single-use code
  16. MS1 -> SSO : Single-use code, App ID, App Secret
  17. SSO -> MS1 : Access token (with Scopes)
  18. MS1 -> User : Session
  19. User -> MS1 : Analyze external data
  20. MS1 -> MS2 : (Access token) Data endpoint
  21. MS2 -> MS1 : Scoped Data
  22. MS1 -> User : Analysis
  23.  
  24. @enduml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement