Feature Requests
Completed :latest

Add session time out

Session time out is not working in patch mon. There must be session timeout for security.

2 Comments

Posting anonymously

9technologygroup·11 months ago

This is a one line command in order to install JWT in the .env file

node -e "console.log('JWT_SECRET=' + require('crypto').randomBytes(64).toString('hex'))" >> .env && \
echo "JWT_EXPIRES_IN=1h" >> .env && \
echo "JWT_REFRESH_EXPIRES_IN=7d" >> .env && \
echo "SESSION_INACTIVITY_TIMEOUT_MINUTES=30" >> .env

I've modified the server components and authroutes to take into effect the JWT token refresh

Posting anonymously

9technologygroup·11 months ago

Thank you - I will have this in Release v1.2.7

Posting anonymously