User Authentication System with Headless JsonwebTokens with implementation of refresh tokens with httpOnly cookie for persisted user auth.
- Before 10 to 20 seconds AcessTokens exprires, it would send request for RefreshTokens from client side.
- Server would issue new AcessTokens with short expire time and same process as 1 would repeat.
- Every time server would send both AcessTokens and RefreshToken.