MovixOpenSource/API/Mainapi/middleware
Satanas1275 ffbe071bb4 fix: add JWT expiration (24h) and token refresh endpoint
- Add expiresIn: '24h' to issueJwt() - tokens now have an exp claim
- Export verifyJwt() to allow token verification with options
- Add POST /api/auth/refresh endpoint for token renewal
- Add frontend refreshAuthToken() utility
- Add axios 401 interceptor that auto-refreshes and retries
- Register interceptor on default axios and api instances
2026-07-02 00:07:22 +02:00
..
auth.js fix: add JWT expiration (24h) and token refresh endpoint 2026-07-02 00:07:22 +02:00
cors.js Nouvelle adresse movix + nouvelles fonctionalités 2026-05-14 17:26:13 +02:00
security.js Nouvelle adresse movix + nouvelles fonctionalités 2026-05-14 17:26:13 +02:00