feat(frontend): Added functionality to the frontend to log in.

This commit is contained in:
Gerald Schmittinger 2025-03-02 16:33:50 +01:00
parent 4a1edbb6ff
commit a28ec22f29
20 changed files with 395 additions and 33 deletions

View file

@ -0,0 +1,10 @@
import express from 'express'
import {getFrontendAuthConfig} from "../controllers/auth";
const router = express.Router();
// returns auth configuration for frontend
router.get('/config', (req, res) => {
res.json(getFrontendAuthConfig());
});
export default router;