I have an application using NodeJS, React and Mongodb.
Authentication is handled via a Rest API.
I would like to link a users public address to their account.
How can I securely connect metamask/wallet connect and store the users public address in the database?