Rahat Chowdhury
SSO with Ethereum and Next JS
#1about 3 minutes
Exploring the user experience flaws in web authentication
Traditional authentication methods like email with passwords and social logins create user friction and dependency on centralized services.
#2about 4 minutes
Understanding Web3 wallets and cryptographic signatures
Web3 wallets are key pairs, not containers for money, that enable users to sign data cryptographically without paying gas fees.
#3about 3 minutes
Mapping the wallet-based authentication user flow
A user connects their wallet, the backend generates a unique number (nonce), and the user signs it to prove ownership.
#4about 4 minutes
Building the frontend with Next.js and Ethers.js
The frontend uses Ethers.js to interact with the wallet's global object, request the user's account, and get a signer instance.
#5about 4 minutes
Implementing the backend API routes in Next.js
Serverless API routes handle user creation, generate a unique nonce, and later verify the signature by decoding it.
#6about 5 minutes
A live demonstration of the wallet sign-in process
See the complete authentication flow in action, from clicking the connect button to the MetaMask signature request and successful login.
#7about 2 minutes
Q&A on wallet providers and developer tooling
Wallet data is managed by providers like MetaMask, and Ethers.js was chosen over Web3.js for its developer-friendly documentation.
#8about 6 minutes
Q&A on mobile access and account recovery strategies
WalletConnect enables mobile wallet access, and account recovery currently relies on seed phrases, with social recovery being explored.
#9about 13 minutes
Q&A on managed services, multi-chain, and privacy
While no direct Auth0 equivalent exists yet for Web3, services are emerging, and this system only stores the user's public wallet address.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
38:18 MIN
Q&A on GraphQL federation and Next.js authentication
GraphQL + Apollo + Next.js: A Lovely Trio
18:04 MIN
Replacing legacy logins and CAPTCHAs with Bitcoin
Business sensibilities when developing for Bitcoin
19:12 MIN
Interacting with smart contracts using ethers.js
Testing web3 applications
16:48 MIN
Connecting a web front-end to a smart contract
Smart Contract fundamentals - My first DApp
08:54 MIN
How passwordless authentication with magic links works
Going Beyond Passwords: The Future of User Authentication
11:21 MIN
Bridging Web2 and Web3 with a hybrid architecture
Web3: Embracing the Next Era of the Internet Within a Web2 Landscape
08:53 MIN
Simplifying Web3 onboarding with FastAuth and gateways
Exploring BOS: The Blockchain Operating System by NEAR Protocol
01:01 MIN
Understanding passwordless authentication technologies
Accelerating Authentication Architecture: Taking Passwordless to the Next Level
Featured Partners
Related Videos
Going Beyond Passwords: The Future of User Authentication
Gift Egwuenu
Connect Metamask with web3js
Wisdom Nwokocha
Testing web3 applications
Soumaya Erradi
Break the Chain: Decentralized solutions for today’s Web2.0 privacy problems
Adam Larter
Accelerating Authentication Architecture: Taking Passwordless to the Next Level
Yedidya Schwartz
Road to Web3
Soumaya Erradi
Security in modern Web Applications - OWASP to the rescue!
Jakub Andrzejewski
Passwordless Web 1.5
Paweł Łukaszuk
From learning to earning
Jobs that call for the skills explored in this talk.

![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)
Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL







Strong Middle Full stack developer (Node.js, React.js, AWS)
Visarsoft GmbH
Intermediate
CSS
SASS
REST
Azure
React
+8