E-Commerce Architecture Demo
en
en
ru
Toggle theme
Backend
Implements business logic.
Info →
Integrations →
Containers →
Components
Dynamic views
Dependencies
Authentication Flow
Authentication Flow
..person2.
.. Frontend
.. API Gateway
.. Authentication Service
.. Relational Database
Ordinary User
Frontend
API Gateway
Authentication Service
Relational Database
Enters
credentials
Sends
request
[REST]
Routes
request
[OAuth2]
Finds
user
by
username
[SQL]
Returns
user,
if
found
[SQL]
Creates
access
token
if
credentials
are
valid
and
user
accound
is
active,
otherwise
HTTP
error
401
[OAuth2]
Returns
access
token
[REST]
Displays
user
profile
on
success,
otherwise
asks
for
credentials
again
Authentication Flow
Authentication Flow
Authentication Flow
..person2.
.. Frontend
.. API Gateway
.. Authentication Service
.. Relational Database
Ordinary User
Frontend
API Gateway
Authentication Service
Relational Database
Enters
credentials
Sends
request
[REST]
Routes
request
[OAuth2]
Finds
user
by
username
[SQL]
Returns
user,
if
found
[SQL]
Creates
access
token
if
credentials
are
valid
and
user
accound
is
active,
otherwise
HTTP
error
401
[OAuth2]
Returns
access
token
[REST]
Displays
user
profile
on
success,
otherwise
asks
for
credentials
again
Authentication Flow [
svg
|
png
|
puml
]