Skip to content

Feat/auth branding oauth#14

Open
Divyansh77-cmd wants to merge 24 commits into
Areeb-coder:feat/auth-branding-oauthfrom
Divyansh77-cmd:feat/auth-branding-oauth
Open

Feat/auth branding oauth#14
Divyansh77-cmd wants to merge 24 commits into
Areeb-coder:feat/auth-branding-oauthfrom
Divyansh77-cmd:feat/auth-branding-oauth

Conversation

@Divyansh77-cmd
Copy link
Copy Markdown

🚀 Authentication Experience Overhaul & OAuth Integration

📝 Description
This PR implements a comprehensive update to the authentication flow. The goal was to align the Writers Pub entry points with a premium ecosystem feel while significantly reducing user friction through social login providers.

✨ Key Changes
🎨 UI/UX & Branding

  • New Branding Component: Integrated AuthBrand across all auth routes for consistent identity.

  • UX Friction Fix: Removed pre-filled input values, ensuring a clean state for new users.

  • Social Login UI: Added a custom "OR" separator and high-fidelity Google and Facebook buttons.

⚙️ OAuth Infrastructure

  • NextAuth/Auth.js Integration: Implemented logic using the signIn function for secure provider handshakes.

  • Dynamic Routing: Established the backend "bridge" via a catch-all API route at api/auth/[...nextauth].

  • Custom Configuration: Tailored the route.ts handler to manage app-specific redirects and custom login pages.

🧪 Testing & Verification
Build Status: ✅ npm run build passed with zero errors or type conflicts.

OAuth Handshake: Verified that social buttons correctly trigger the provider flow (currently hitting invalid_client as expected until production secrets are added).

  • Responsiveness: Confirmed consistent layout across mobile and desktop views.
    Verified that social buttons correctly trigger the provider flow.

📸 Screenshots
image

Areeb-coder and others added 23 commits April 22, 2026 01:15
…olor-grading

fix: improve color contrast and fix washed out styling on homepage#2
…-hero

feat: add typewriter effect to hero headlines
@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

@Divyansh77-cmd is attempting to deploy a commit to the areeb-coder's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Areeb-coder
Copy link
Copy Markdown
Owner

Hey @Divyansh77-cmd ,

Thank you so much for putting this together! The authentication overhaul looks incredibly clean, and the custom social login buttons + OAuth infrastructure are huge improvements for the onboarding UX.

I'm currently tied up with a few things at the moment, but I will surely review the code changes and merge this soon. Really appreciate the great work and the high-fidelity branding!

@vercel
Copy link
Copy Markdown

vercel Bot commented May 19, 2026

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

Project Deployment Actions Updated (UTC)
writters-pub Ready Ready Preview, Comment May 19, 2026 10:11am

@Areeb-coder Areeb-coder added level3 Complex tasks (auth logic, state management, API integration). frontend Issues related to UI, CSS, React, or browser-side logic. backend Issues related to Node.js, databases, or API routes feature New functionality or modules being added to the project gssoc:approved Assigned to valid GSSoC PRs that have been verified and merged. labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Issues related to Node.js, databases, or API routes feature New functionality or modules being added to the project frontend Issues related to UI, CSS, React, or browser-side logic. gssoc:approved Assigned to valid GSSoC PRs that have been verified and merged. level3 Complex tasks (auth logic, state management, API integration).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants