The Oasis Auth Service has some principal services that are allowed in a Middleware Router that evaluate the path request and return a service depending on the HTTP method and the service path.
Service Middleware
To understand how the ODS works and the way its service routes will be chosen, please visit How ODS works
The Oasis Data Store offers a comprehensive suite of backend services, each designed to handle specific aspects of user authentication, session management, system health, etc. These services include:
initial: {
method: RouteHTTPMethods.POST,
action: new InitSessionService(),
},
Init session with the user credentials and prompt to MFA process if necessary.
'cross-auth': {
method: RouteHTTPMethods.GET,
action: new CrossAuthentication(),
},
When swapping platforms, checks the status of a user Token between the ODS data and the Global Token.
validate: {
method: RouteHTTPMethods.POST,
action: new ValidateOtpService(),
},
Execute the MFA Authentication to get and validate an OTP code.
logout: {
method: RouteHTTPMethods.POST,
action: new LogoutService(),
},
Logout the user from all the applications and global services.
'save-device': {
method: RouteHTTPMethods.POST,
action: new DeviceManagementService(),
},
Remember the device for 15 days and each time it’s executed compares the device fingerprint and date.
'reset-password': {
method: RouteHTTPMethods.POST,
action: new ResetPasswordService(),
},
Is the service responsible to manage all the related password flows.