This section will explain in detail the implementations of security on Flatlogic Platform. Real security happens on the backend:
backend/src/auth – NodeJS+Sequelize
backend/src/routes/auth – NodeJS+TypeORM
backend/src/config/auth.php - Laravel
When the user signs-in, he receives a secure JWT token. The frontend then sends this token on each request via the Authorization header. Using an authentication middleware, the backend validates this token, fetches the current user, and assigs him to the request.