Skip to content

Feat/auth redesign: Unified Google OAuth & Dynamic Identity UI#6

Merged
andrefv3 merged 4 commits into
mainfrom
develop
May 7, 2026
Merged

Feat/auth redesign: Unified Google OAuth & Dynamic Identity UI#6
andrefv3 merged 4 commits into
mainfrom
develop

Conversation

@andrefv3

@andrefv3 andrefv3 commented May 7, 2026

Copy link
Copy Markdown
Owner

PR: Unified Google OAuth & Auth UI/UX Redesign

Overview

This PR delivers a major overhaul of the authentication system. It implements a seamless Google OAuth integration with JIT (Just-In-Time) Provisioning and introduces a completely redesigned Login and Registration interface.

🛠️ Key Changes

Authentication Engine (Backend)

  • Unified Google Handler: Merged Login/Signup logic into a single googleAuth service. It handles both account linking and auto-provisioning.
  • Verification Logic: Google-authenticated users bypass manual OTP flows and are marked as isVerified: true.
  • Strict Type Safety: Refactored RegisterDto to handle optional fields. Fixed string | null mismatches between Prisma entities and DTOs using Type Guards.

UI/UX Redesign (Frontend)

  • Auth Pages Overhaul: Modernized /login and /register layouts with improved visual hierarchy and brand-consistent styling.
  • Dynamic Identity System:
    • Avatar Logic: Implemented in Sidebar and WelcomeMessage with a 3-tier fallback (Google Photo -> Initials -> Default).
    • Staff-Level UX: Added draggable="false" and select-none to all profile assets to prevent browser "ghosting."
  • Transitions: Integrated animate-fade-in for smoother navigation between auth states.

andrefv3 added 3 commits May 6, 2026 18:45
• Auth & Forms: Refactored useRegisterForm and useLoginForm using React 19 useActionState and strict Zod types.
• UI Components: Enhanced Input and Tooltip with improved accessibility roles and dynamic styling.
• Testing: Consolidated architecture by moving vitest.setup.ts to root and verified all 26 tests pass in green.
• Added unified Google authentication flow (JIT provisioning).
• Refactored MailModule to be global and fixed dependency injection.
• Updated WelcomeMessage and Sidebar with dynamic profile picture/avatar logic.
• Fixed TypeScript type conflicts between Prisma entities and RegisterDTO.
• Enforced 'draggable=false' and 'select-none' on UI images for improved UX.
@vercel

vercel Bot commented May 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kynetic-tasks Ready Ready Preview, Comment May 7, 2026 1:04pm

Feat/auth redesign: Unified Google OAuth & Dynamic Identity UI
@andrefv3 andrefv3 merged commit a035717 into main May 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant