Open Auth Kit

Introduction

OpenAuth is a groundbreaking open-source project that seamlessly integrates social logins with wallets on decentralized applications (DApps). Built on Lit Protocol's robust infrastructure, OpenAuth delivers a secure, user-friendly experience that prevents fund and access fragmentation while fully embracing decentralization principles.

In a decentralized world, accessibility shouldn't compromise security or ownership. OpenAuth embodies this philosophy, offering a solution that combines the convenience of social logins with the security and control of decentralized wallets.

Benefits of Open Source

As an open-source project, OpenAuth aligns with Web3's core ethos of decentralization, transparency, and community governance. This approach ensures its relevance in a rapidly evolving technological landscape.

Key benefits of OpenAuth's open-source nature include:

  1. Interoperability and Zero Lock-in: Enables the creation of open standards and easy integration with other projects.

  2. Cost Reduction and Accessibility: No licensing fees, reducing adoption costs for developers and projects of all sizes.

  3. Customization and Integration Flexibility: Developers can create specialized versions for niche use cases.

  4. Enhanced Security and Trust Through Transparency: Global scrutiny of the codebase fosters a robust security ecosystem.

  5. Community-Driven Innovation: Leverages collective expertise for rapid feature development and problem-solving.

  6. Long-term Sustainability: Ensures the project's longevity through community support and contributions.

The OpenAuth Product Stack

  1. Wallet Management with Lit Protocol

    • Decentralized Key Storage: Keys are securely stored across Lit's node network.

    • Lit Actions: Immutable programs for secure access to signing and encryption functionalities.

  2. Authentication Mechanisms

    • Multiple social providers: Google, Discord, Twitter, Telegram, Farcaster

    • Email and SMS OTP

    • Passkeys: Streamlined login experience with secure device or cloud keychain storage

    • Enhanced Security: OTPs, Lit node verification, origin validation

  3. Native Auth Customization

    • Custom authentication URLs for brand alignment

    • Secure credential storage for personalized authentication processes

  4. External Wallet Integration

    • Seamless integration with users' existing wallets

    • Secure registration through signed messages with nonce and time-based validation

  5. Comprehensive Signing Functionality

    • API Endpoints:

      • Sign Message: Secure message signing using Public Key Pair (PKP)

      • Sign Transaction: Transaction signing with PKP for specified chains

      • Send Transaction: Send signed transactions to supported chains

    • Ethers Signer:

      • JS/TS package mimicking Ethers Wallet or Signer functionality

      • Ideal for creating smart wallets without exposing private keys

Accessing OpenAuth on GitHub

OpenAuth is available as an open-source project on GitHub. To access and contribute to the project:

  1. Visit the OpenAuth GitHub repository and explore the codebase, documentation, and contribution guidelines in the repository.

  2. Join the OpenAuth community:

    • Star the repository to show your support

    • Watch the repository for updates

    • Participate in discussions in the Issues and Pull Requests sections

OpenAuth invites developers, communities, and organisations to build, adapt, and innovate on a foundation of trust and transparency. Together, we can shape the future of decentralized authentication in the Web3 ecosystem.

For more detailed information on using and contributing to OpenAuth, please refer to the documentation in the GitHub repository.

Last updated