login-with-wallet
login-with-wallet copied to clipboard
Authenticate to a backend using the sign in with ethereum standard provided by thirdweb auth
[!Important]
This repository is referencing themumbaichain.
Mumbaiis deprecated since 08/04/2024, meaning the code in this repository will no longer work out of the box.You can still use this repository, however you will have to switch any references to
mumbaito another chain.
Login with Wallet
This project demonstrates how to setup a wallet-based authentication flow compliant with the sign-in with ethereum spec via the thirdweb SDK. It enables users to securely sign in to any backend service using just their wallet.
Getting Started
This repository has multiple different examples showing how to implement this flow in different languages and backend frameworks.
You can explore the setup and usage for each of these examples in the project specific folders:
- Login with Wallet Next - Uses Next.js (React and Express) for both the frontend and backend.
- Login with Wallet Next Fiber - Uses Next.js (React) for the frontend and a Go Fiber for the backend.
- Login with Wallet Next Flask - Uses Next.js (React) for the frontend and a Flask for the backend.
Learn More
To learn more about thirdweb and the authentication SDk, checkout the following resources:
- Auth Documentation - learn about thirdweb authentication.
- React Documentation - learn about our React SDK.
- TypeScript Documentation - learn about our TypeScript SDK.
- Python Documentation - learn about our Python SDK.
- Go Documentation - learn about our Go SDK.
- Portal - check our guides and development resources.
You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!
Join our Discord!
For any questions, suggestions, join our discord at https://discord.gg/thirdweb.