Skip to content

Conversation

MUSKANNISHAD
Copy link

This PR implements the "Sign in with GitHub" functionality, addressing issue #896

Related Issue

  • Closes / is related to: #
  • Issue Description: The “Sign in with GitHub” button exists in the UI but was non-functional. Users could not authenticate via GitHub accounts.

Feature Implemented

  1. GitHub OAuth Integration

    • Backend routes added for OAuth flow:
      • /auth/github → Initiates GitHub login.
      • /auth/github/callback → Handles GitHub response and logs in the user.
    • Session is created upon successful login.
    • Users are redirected back to the application.
  2. Frontend Integration

    • The "Sign in with GitHub" button now correctly points to /auth/github.
    • Button initiates OAuth flow on click.
  3. User Experience Improvements

    • Users can register/login without creating a new account.
    • App leverages GitHub OAuth, eliminating the need to handle passwords.
    • Optional: Display GitHub avatar and username after login.

Benefits

  • Reduces friction for new users.
  • Secure authentication leveraging GitHub.
  • Provides a seamless login flow for developers contributing or using the app.

Testing Done

  • Clicked the GitHub login button → redirected to GitHub OAuth page.
  • After successful login → redirected back to app with session active.
  • Failed login scenarios handled gracefully.

Notes

  • Ensure GitHub OAuth credentials are set in .env (GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, CALLBACK_URL).
  • The flow works both for local development and production deployment.

Copy link

vercel bot commented Oct 17, 2025

@MUSKANNISHAD is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added hacktoberfest-accepted recode this is label for leaderboard labels Oct 17, 2025
Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

Synced data from Linked Issues

Labels:

  • enhancement
  • level 1
  • recode
  • hacktoberfest-accepted

Assignees:

  • MUSKANNISHAD

Milestones:

  • None

@github-actions github-actions bot added enhancement New feature or request level 1 10 points and removed recode this is label for leaderboard hacktoberfest-accepted labels Oct 17, 2025
Copy link

🏷️ Labels automatically synced from linked issue(s): enhancement, level 1

Copy link

vercel bot commented Oct 17, 2025

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

Project Deployment Preview Comments Updated (UTC)
recode-website Ready Ready Preview Comment Oct 17, 2025 4:44pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@sanjay-kv sanjay-kv added the under review Review under the maintainers or the admins label Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request level 1 10 points under review Review under the maintainers or the admins

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants