Backend Authentication
This section provides a detailed overview of the security measures implemented on the Flatlogic Platform. The core security mechanisms operate on the backend, utilizing the following technologies:
NodeJS with Sequelize: backend/src/auth
NodeJS with TypeORM: backend/src/routes/auth
Laravel: backend/src/config/auth.php
When a user signs in, they are issued a secure JWT (JSON Web Token). The frontend includes this token in the Authorization header of every subsequent request. On the backend, an authentication middleware processes these requests by validating the token, retrieving the corresponding user information, and associating it with the request context. This approach ensures robust and secure communication between the frontend and backend systems.