Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
204

Latest Updates

Documenting code, one commit at a time.

NestJS 4 posts
×

Enhancing Multi-Tenant Authentication: Preventing Ambiguous Logins

In the motos-max-cordialidad project, we recently addressed a critical security concern related to our multi-tenant authentication mechanism. The goal was to ensure a robust and deterministic user login experience, especially when a tenantId was not explicitly provided during the authentication attempt.

The Problem

Our system allows users to exist across multiple tenants, such as

0 TypeScript NestJS

Securing Authentication Flows: The Imperative of Server-Side Validation in NestJS

Introduction

In the motos-max-cordialidad project, a recent enhancement focused on bolstering the security and reliability of our authentication system. Specifically, we locked down the login and password reset functionalities with robust server-side validation. This initiative stemmed from a critical principle: client-side validation, while essential for user experience, can never be fully

Fortifying Multi-Tenant Applications: Preventing Cross-Tenant Data Breaches

In a multi-tenant application, one of the most critical security concerns is ensuring that data belonging to one tenant remains strictly isolated from others. A breach in this isolation can lead to catastrophic data leaks or unauthorized modifications. This is precisely the challenge we recently tackled within the motos-max-cordialidad project.

motos-max-cordialidad operates as a