8000 feat(get-me-a-chai/auth): add multi-provider login by Swarnabha07 · Pull Request #293 · CodeWithHarry/Sigma-Web-Dev-Course · GitHub 8000
[go: up one dir, main page]

Skip to content

feat(get-me-a-chai/auth): add multi-provider login#293

Open
Swarnabha07 wants to merge 1 commit intoCodeWithHarry:mainfrom
Swarnabha07:feat/auth-providers
Open

feat(get-me-a-chai/auth): add multi-provider login#293
Swarnabha07 wants to merge 1 commit intoCodeWithHarry:mainfrom
Swarnabha07:feat/auth-providers

Conversation

@Swarnabha07
Copy link

Summary

Added multi-provider authorization (Google, Facebook, Linkedin) to the get-me-a-chai Next.js project under the sigma-web-dev-course repo.

Changes

  • Updated app/api/auth/route.js to handle multiple providers.
  • Updated app/(auth)/login-page.js for better sign-in handling.

How to test

  1. Add environment variables to .env.local:

    • GOOGLE_CLIENT_ID
    • GOOGLE_CLIENT_SECRET
    • LINKEDIN_CLIENT_ID
    • LINKEDIN_CLIENT_SECRET
    • FACEBOOK_ID
    • FACEBOOK_SECRET
    • TWITTER_CLIENT_ID
    • TWITTER_CLIENT_SECRET
    • APPLE_ID
    • APPLE_SECRET
    • MONGODB_URI
  2. Run the project:

    npm install
    npm run dev
    
  3. Test sign-ins with all providers.

@Swarnabha07 Swarnabha07 changed the title feat(get-me-a-chai/auth): add multi-provider support feat(get-me-a-chai/auth): add multi-provider login Oct 21, 2025
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

0