stellar / soroban-example-dapp

End-to-End Example Soroban Dapp
Apache License 2.0
1.03k stars 829 forks source link

LambdaHackWeek: Implement Social Login(OAuth Authentication) #162

Open Julian-dev28 opened 5 days ago

Julian-dev28 commented 5 days ago

Please add PRs to the update-P21 branch

Description: Add OAuth authentication to the Soroban Example Dapp to allow users to log in using their social media accounts.

Tasks:

  1. Set Up OAuth Providers:
    • Configure OAuth providers (e.g., Google, Facebook).
    • Obtain necessary API keys and credentials.
  2. Implement Frontend Login Flow:
    • Create a login button for each OAuth provider.
    • Redirect users to the provider's authentication page.
    • Handle the OAuth callback and retrieve user information.
  3. Integrate OAuth Authentication on Backend:
    • Implement backend endpoints to handle OAuth authentication.
    • Validate and store OAuth tokens securely.
    • Create or update user records based on OAuth data.
  4. Ensure Secure Handling of OAuth Tokens:
    • Implement best practices for storing and managing OAuth tokens.
    • Ensure secure transmission of tokens between frontend and backend.

Expected Outcome:

Why This Is Important: OAuth authentication provides a convenient and secure login method for users, enhancing user experience and potentially increasing user engagement.

Jonatan-Chaverri commented 58 minutes ago

Hello, I will like to take care of this one during the LambdaHackWeek!