bg: '#0f172a', card: '#1e293b', border: '#334155'

InnovTranslate API

Admin Dashboard

Sign in with SSO

Authenticate using your organization account

Protected by OAuth 2.0 / OpenID Connect

// Check for error in URL const params = new URLSearchParams(window.location.search); const error = params.get('error'); if (error) { const messages = { oauth_error: 'Authentication failed. Please try again.', missing_params: 'Invalid authentication response.', invalid_state: 'Session expired. Please try again.', token_exchange: 'Failed to complete authentication. Please contact your administrator.', userinfo_failed: 'Failed to get user information.', callback_error: 'Authentication callback failed.', insufficient_permissions: 'You do not have permission to access this application.', account_disabled: 'Your account has been disabled. Please contact your administrator.', session_expired: 'Your session has expired. Please sign in again.', }; const errorDiv = document.getElementById('errorMessage'); const errorText = document.getElementById('errorText'); errorDiv.classList.remove('hidden'); errorText.textContent = messages[error] || 'An authentication error occurred.'; // Clean URL without reload window.history.replaceState({}, document.title, window.location.pathname);