Checkout Auth Sequence
6 messages
ZenUML-style flow
Auth before data
Client
browser
Gateway
main focus
Auth
token service
Profile DB
user data
POST /checkout
validate token
token ok
read profile
profile data
200 response
Client
Gateway
Auth
Profile DB
1
Client -> Gateway
POST /checkout
call
2
Gateway -> Auth
validate token
call
3
Auth -> Gateway
token ok
return
4
Gateway -> Profile DB
read profile
call
5
Profile DB -> Gateway
profile data
return
6
Gateway -> Client
200 response
return