Commit Graph

21 Commits

Author SHA1 Message Date
amhsirak
7cc9947b2a feat: auto logout after certain hours of inactivity 2024-12-20 21:59:34 +05:30
amhsirak
86b4fb29ba fix(temp): -rm expiration logic 2024-11-18 21:26:23 +05:30
amhsirak
9027435c70 fix: logout if token expired 2024-11-11 20:21:12 +05:30
amhsirak
d0fa3ff081 fix: !logout on hard refresh 2024-11-11 19:59:51 +05:30
amhsirak
a052ec7e38 fix: gracefully handle jwt token decoding 2024-11-11 02:13:46 +05:30
amhsirak
ba59847860 fix: adapt to jwtDecode v4 2024-11-07 21:57:56 +05:30
amhsirak
c43d13f27a feat: auto-logout if jwt token expired 2024-11-07 21:56:41 +05:30
karishmas6
5cbab56386 refactor: use apiUrl 2024-11-01 08:26:00 +05:30
karishmas6
d2a9927e5b chore: prettier 2024-10-12 22:48:00 +05:30
karishmas6
f8657732db feat: remove CSRF token 2024-10-12 22:47:44 +05:30
karishmas6
25c9265f59 feat: proper retrieval of user from local storage 2024-09-26 16:17:50 +05:30
karishmas6
9bb1d715b5 feat: set axios.defaults.withCredentials to true 2024-09-25 17:01:30 +05:30
karishmas6
2591bf0a95 fix: use data.csrfToken 2024-09-25 14:57:40 +05:30
karishmas6
6879260623 refactor: rename to AuthProvider 2024-09-25 12:15:38 +05:30
karishmas6
8f52bb28e1 refactor: rename to AuthContext 2024-09-25 12:07:24 +05:30
karishmas6
6a50edff22 fix: login & csrf api routes 2024-09-24 12:31:57 +05:30
karishmas6
4ad5b46fd3 chore: lint 2024-09-24 12:10:04 +05:30
karishmas6
044031260c feat: extend HeadersDefaults type to include X-CSRF-TOKEN property 2024-09-24 12:09:50 +05:30
karishmas6
1dd1b6fbdb fix: pass null if not found 2024-09-24 12:09:01 +05:30
karishmas6
2131b5307f feat: create ActionType context 2024-09-24 12:08:19 +05:30
karishmas6
b2c1babcfc feat: auth context 2024-09-24 12:07:32 +05:30