-
-
Save cornfeedhobo/d771c6d37f0bcdfd147938b3a071e310 to your computer and use it in GitHub Desktop.
UML for OAuth2 Authorize Scope Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
title "OAuth2 Authorize Scope Request" | |
actor User | |
entity "Service 1" as MS1 | |
entity "Service 2" as MS2 | |
database SSO | |
User -> MS1 : Login | |
MS1 -> SSO : Login Redirect | |
SSO -> User : HTML Form / JSON | |
User -> SSO : Credentials | |
SSO -> User : Single-use code | |
User -> MS1 : Single-use code | |
MS1 -> SSO : Single-use code, App ID, App Secret | |
SSO -> MS1 : Access token (with Scopes) | |
MS1 -> User : Session | |
User -> MS1 : Analyze external data | |
MS1 -> MS2 : (Access token) Data endpoint | |
MS2 -> MS1 : Scoped Data | |
MS1 -> User : Analysis | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment