fix: the refresh token flow

This commit is contained in:
mahyargdz
2025-03-07 13:05:05 +03:30
parent 1391deecf0
commit 84317ebe99
3 changed files with 81 additions and 37 deletions
+2
View File
@@ -1,4 +1,6 @@
// export const AUTH_THROTTLE = "AUTH_THROTTLE";
export const AUTH_THROTTLE_TTL = 5 * 60 * 1000;
export const AUTH_THROTTLE_LIMIT = 5;
export const AUTH__REFRESH_THROTTLE_TTL = 10 * 60 * 1000;
export const AUTH__REFRESH_THROTTLE_LIMIT = 10;
export const JWT_STRATEGY_NAME = "jwt_Strategy";