Userbase

Docs : SDK : getVerificationMessage

The Get Verification Message API lets you retrieve a user's verification message. The user can give this verification message to other users in person (by scanning a QR code for example), or through a secure 3rd party channel such as Signal. Other users can then take the user's verification message and call verifyUser to make sure that they are sharing data directly with that user and not a man-in-the-middle.

    
      userbase.getVerificationMessage().then(({ verificationMessage }) => {
        // verification message to give to other users so they can verify you
      }).catch((e) => console.error(e))
    
  

Result

Errors