8609c09a63
- Introduced a function to identify public authentication requests, preventing unnecessary token refresh attempts for specific endpoints. - Simplified the redirection logic to the login page upon 401 errors, improving code readability and maintainability. - Updated error handling to provide clearer messages for failed authentication attempts. This update improves the request handling process, ensuring a smoother user experience during authentication flows.