Commit Graph

14 Commits

Author SHA1 Message Date
ValdiANS dd586f07d2 fix: only refresh session when user data is available 2026-01-30 10:03:03 +07:00
ValdiANS b53c8b99a0 chore: refresh user session when user first enter the web 2026-01-02 12:40:07 +07:00
ValdiANS 57ef4109f7 feat: refresh user session 2025-12-31 10:34:07 +07:00
ValdiANS 09d36f504b feat: refresh user data every 13 minutes 2025-12-18 16:07:04 +07:00
ValdiANS 9628ee88ad chore: add condition for redirecting to SSO 2025-12-10 21:47:58 +07:00
ValdiANS f939f4b0fb fix: return children only if userResponse success and user is set 2025-12-10 18:10:08 +07:00
ValdiANS 83d76f7de4 fix: set isLoadingUser in useAuth hook 2025-12-10 16:57:20 +07:00
ValdiANS aed58ef10c hotfix: Implement client-side dashboard redirect with loading spinner, improve authentication error handling by clearing user state on 401, and extend SSO redirect loop protection. 2025-12-10 16:23:51 +07:00
ValdiANS 0cc9d0e94e hotfix: Centralize SSO redirection logic into a new helper with loop protection, integrate it into the HTTP client and RequireAuth component, and add an authentication failure UI. 2025-12-10 15:18:37 +07:00
ValdiANS b8590040ff chore: remove unnecessary code 2025-11-28 10:28:33 +07:00
ValdiANS c0bba827a0 chore: remove dummy data 2025-11-24 09:31:27 +07:00
ValdiANS 5af9c3ee27 chore(FE-113): change api route for getting user info to /auth/sso/userinfo 2025-10-21 15:06:10 +07:00
sweetpotet 21b9396323 feat(FE-33): create customers forms 2025-10-08 16:40:30 +07:00
ValdiANS 6924aef8c4 feat(FE-40): create RequireAuth helper component 2025-10-01 14:59:46 +07:00