🚀
ProticoSDK
  • 👋Welcome to Protico
  • Overview
    • 💡What we do
    • ✨Our Features
  • SDK
    • 🛠️Getting started
    • 📝Web3 Providers
      • Use existing provider
      • Initialize ProticoAuthCore
        • MetaMask
        • WalletConnect
        • Web3Auth
      • Login
      • Full example
    • 🧑Interact with Ceramic
      • Setting up Ceramic
      • 👤Profile
      • 🤝Contacts
    • Use Protico APIs
      • ⚙️Settings
      • 📋Whiteboard
      • 🗒️Announcement
      • ▪️Blocklist
    • 🔑User Keys
      • Encryption / Decryption
    • Considerations
      • Protico API Key
      • Rate Limiting
Powered by GitBook
On this page
  • Web3Auth Open Login
  • Intialization
  • Parameters description
  1. SDK
  2. Web3 Providers
  3. Initialize ProticoAuthCore

Web3Auth

PreviousWalletConnectNextLogin

Last updated 1 year ago

Web3Auth Open Login

With Open Login, your users can securely bind their Web3 Identity to their Web2 social network logins. More information .

Intialization

Let's now take a look at the WalletConnect's adapterConfigs:

const auth = new ProticoAuthCore({
       ...
        adapterConfigs: {
        ...
          [SUPPORTED_ADAPTERS.OPENLOGIN]: {
            enable: true,
            adapterSettings: {
              clientId, 
              web3AuthNetwork, 
              uxMode: "popup", 
              loginConfig: { 
                google: {
                  name: "Protico",
                  verifier: "protico-google",
                  typeOfLogin: "google",
                  clientId: googleClientID
                },
                ... // Add Facebook, Reddit, etc. as additional login methods
              },
            },
          },
          ...
        },
      });

Parameters description

Parameter
Description
Optional

enable

Is WalletConnect enabled?

No

adapterSettings

No

Adapter Settings is a Web3Auth object, read to learn about the required parameters and all the login methods.

📝
here
their documentation