-
Notifications
You must be signed in to change notification settings - Fork 0
Components & Model
The Self-Service MFA application is separated into different components. Most of which run on docker swarm.
Components of Self-Service MFA
- Web front end
- API
- Office 365 script runner
- Redis-prod
- Redis-failover
The web front end is a single-page application (SPA) written in Angular. It's responsible for end user interactions with the API. The SPA is hosted from an nginx container.
The API is responsible for all transactions between the components, with the exception of redis-prod to redis-failover. It runs on a node container.
The Office 365 script runner is responsible for, well, running scripts in Office 365. It runs on a windows host outside of docker swarm.
The Redis-prod service maintains state for the application; this includes recovery email address, enrollment request status, and reset request status. The redis-failover service is responsible for providing a synchronized copy of the application state on a different docker swarm node. If there is a failure the application can be brought back by changing the role (label) of the redis-failover swarm node.