Feat/auth branding oauth#14
Open
Divyansh77-cmd wants to merge 24 commits into
Open
Conversation
…epage#2" This reverts commit 3dd70fc.
…olor-grading fix: improve color contrast and fix washed out styling on homepage#2
…-hero feat: add typewriter effect to hero headlines
|
@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. |
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! |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 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).
Verified that social buttons correctly trigger the provider flow.
📸 Screenshots
