Web3Auth

Web3Auth Open Login

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

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

ParameterDescriptionOptional

enable

Is WalletConnect enabled?

No

adapterSettings

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

No

Last updated