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

Services

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

initial: {
  method: RouteHTTPMethods.POST,
  action: new InitSessionService(),
},

Init session with the user credentials and prompt to MFA process if necessary.

Initial

Cross-Auth

'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.

Cross Auth

Validate

validate: {
  method: RouteHTTPMethods.POST,
  action: new ValidateOtpService(),
},

Execute the MFA Authentication to get and validate an OTP code.

Validate

Logout

logout: {
  method: RouteHTTPMethods.POST,
  action: new LogoutService(),
},

Logout the user from all the applications and global services.

Logout

Save-Device

'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.

Save Device

Reset-Password

'reset-password': {
  method: RouteHTTPMethods.POST,
  action: new ResetPasswordService(),
},

Is the service responsible to manage all the related password flows.

Reset Password