DEV Community

Discussion on: Build a Web3 Dapp in React & Login with MetaMask

Collapse
 
ediskandarov profile image
Eduard Iskandarov

This article covers only the first step in auth pipeline.

In case of simple wallet activation - there's nothing we can use to authenticate on the backend.

Ethereum address can be spoofed.

What should be done is an additional signature check.

Collapse
 
thewritingdev profile image
Akash Joshi

I only wanted to check frontend-only login for Metamask and this is a good start. You can create the following resources for backend auth :D

Collapse
 
alex_pascual_e501c179df9d profile image
Alex Pascual

amazing stuff Akash, thank you! just curious, what are some of the resources we would need to incorporate some sort of backend auth?

also, is there any way to make a screen/window/button visible when a user has successfully connected to metamask?

thanks again for everything - i really appreciate it.

Thread Thread
 
thewritingdev profile image
Akash Joshi

what are some of the resources we would need to incorporate some sort of backend auth?

Could look here: dev.to/dabit3/the-complete-guide-t... or here: m1guelpf.blog/VBlaOTPAxQNFHjl5n-C3...

also, is there any way to make a screen/window/button visible when a user has successfully connected to metamask?

Look at Conditinal Rendering in React.

Cheers!