Signing of Messages with Web3Auth without an external wallet

Please provide the following details too when asking for help in this category:
Please how can we set up a signing mechanism for users. So, users can get to sign messages offchain to confirm their authenticity before interacting with our backend. Is there a way this can be done?

  • SDK Version:
  • Platform:
  • Browser Console Screenshots:
  • Related to Custom Authentication? Please provide the following info too: (Optional)
    • Verifier Name:
    • JWKS Endpoint:
    • Sample idToken(JWT)

Please provide the Web3Auth initialization and login code snippet below:

There’s a lot of sign message examples in this repository.
Please refer to these examples.

I mean users being able to sign messages using the private key that web3auth generates for our users. How can that be achieved?

@u.h.ugwu private key that web3auth generates is perfectly compatible with ethers.js, and simply use sign function from ethers.js.
All you asking are already in example app repository, try have a look.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.