direct_url = 'http://localhost/'; // window.location.href
                // Get authorization URL
                const response = await fetch(`${API_BASE}/auth/oauth/google?redirect_uri=${encodeURIComponent(redirect_url)}`);
                const data = await response.json();
                
                if (data.authUrl) {
                    showStatus('Redirecting to Google authorization page...', 'info');
                    // Redirect to Google authorization page
                    window.locat