RutikKulkarni / ReferralNetworkHub

ReferralNetworkHub is a platform that simplifies the job referral process by connecting professionals with job seekers. It enhances collaboration among employees and candidates, streamlining referrals and improving job search outcomes.
https://referral-network-hub.vercel.app
MIT License
15 stars 16 forks source link

Integrate Google and LinkedIn Login/Signup with Clerk or Auth0 #76

Open RutikKulkarni opened 3 months ago

RutikKulkarni commented 3 months ago

We need to integrate Google and LinkedIn login/signup functionality into our application. You can use Clerk for this integration, but if you prefer, you can use Auth0. Here are the detailed requirements:

  1. Login/Signup Integration:

    • Implement Google and LinkedIn login/signup functionality.
    • For Clerk integration, follow their official documentation for setting up authentication.
    • For Auth0 integration, set up the Auth0 flow according to the provider's documentation.
  2. Data Synchronization:

    • Ensure that user login/signup data from Google or LinkedIn is synchronized with our database.
    • After a user signs up or logs in through Google or LinkedIn, the necessary user data should be captured and stored in our database.
  3. Webhook Setup:

    • Use webhooks to receive login/signup events from Clerk or Auth0.
    • Make sure that the data received through these webhooks is processed and stored correctly in our database.
  4. Environment Variables:

    • Use environment variables for sensitive keys, such as PUBLISHABLE_KEY. Create these keys as required and store them in the .env file.
    • Ensure that sensitive keys are not pushed to the repository. Use placeholders in the code and document the process for filling in the keys.
  5. Security:

    • Ensure that all integrations follow security best practices to protect user data.
    • Validate all incoming data and handle any errors gracefully.
  6. Documentation:

    • Provide clear documentation on how to set up and configure Clerk or Auth0.
    • Include instructions for managing environment variables and handling webhooks.

Note: Ensure that when pushing the code, sensitive keys are not included in the commits. Use placeholders and instruct on how to set up the environment variables.

Reference Links:

Virajjai commented 3 months ago

Hi @RutikKulkarni , can i work on this sir, and any suggestions for me before i start on.