Login Sequence Diagrams
Below are some simplified examples of the login processes for Flow Server and Admin GUI. The diagrams represent the information exchange between individual parts of the system. The processes advance from top to bottom. Each whole diagram represents the steps from requesting the data as an unauthorized user to the final state, when the data is returned to the authorized user.
Flow Server Login
-
The user requests data from Flow Server.
-
Flow Server checks if the user is logged in.
- Flow Server has to verify the login state with the Keycloak server.
-
The user is not logged in and thus is redirected by the Keycloak server to the Keycloak login page.
-
The user enters their credentials.
-
The Keycloak server redirects the user back to the page they came from.
-
The user requests data.
-
Flow Server verifies the token supplied by the browser.
-
Flow Server returns the requested data.
Admin GUI Login
-
The user requests accesses to the AdminGuiFE application in the browser.
-
AdminGuiFE checks if the user is logged in.
- AdminGuiFE has to verify the login state with the Keycloak server.
-
The user is not logged in and thus is redirected by the Keycloak server to the Keycloak login page.
-
The user enters their credentials.
-
The Keycloak server redirects the user back to the page they came from.
-
The user requests access to the AdminGuiFE application in the browser.
-
AdminGuiFE checks if the user is logged in.
-
AdminGuiFE requests data from the AdminGuiBE.
-
AdminGuiBE checks if the user is logged in.
- This will succeed thanks to the SSO functionality provided by Keycloak.
-
AdminGuiBE returns the data to AdminGuiFE.
-
AdminGuiFE presents the data to the user.