DEV Community

Cover image for One click login using MetaMask with django-restframework and Web3
Wassaf Shahzasd
Wassaf Shahzasd

Posted on

One click login using MetaMask with django-restframework and Web3

So, for a while now, I was looking for a way to create login and signup flow using blockchain and during my search I came across this fine article which details the authentication flow with great detail.
https://www.toptal.com/ethereum/one-click-login-flows-a-metamask-tutorial``

But one problem its not in python 😤. Also you had to a lot tedious things to get it work. Only if some one would write a reusable application with all the boring bits already done.
Well lucky for you dear reader. I am that guy and I wrote this nifty little DRF app to solve this problem.

PYPI link : https://pypi.org/project/django-metamask-auth/

To get started go to the github repo and follow the getting started guide.

Hopefully this helps some you and I will be working on an npm package for the front side, keep a look out for that as well and don't forget to star the repo.

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay