๐ŸŽŽAuthentication Integration

To integrate user authentication with your backend system

Authentication Integration Flow

Some of the key features include:

  • Assign an EOA to an enduser

  • Authenticate the user in backend

Additional development is required as follows

Outline

If you are using Ethereum Signature Validator for verification, you need to restore the message that was used for the signature on the backend. Please add the following code to your backend. The reason for not sending the restored message directly from the frontend is to ensure that the message generated on the backend is revealed to be used for the signature. Without this assurance, there is a possibility of picking up any string and signature and impersonating someone else.

Summary

Implementation Details of above Flow at No9

  1. Refetch the originalMessage

  2. Add the logic to generate messageToBeSigned from originalMessage

Last updated

Was this helpful?