https://github.com/thirdweb-example/login-with-wallet
Authenticate to a backend using the sign in with ethereum standard provided by thirdweb auth
https://github.com/thirdweb-example/login-with-wallet
auth wallet-connection
Last synced: 12 months ago
JSON representation
Authenticate to a backend using the sign in with ethereum standard provided by thirdweb auth
- Host: GitHub
- URL: https://github.com/thirdweb-example/login-with-wallet
- Owner: thirdweb-example
- License: apache-2.0
- Archived: true
- Created: 2022-06-03T16:04:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T00:32:49.000Z (about 2 years ago)
- Last Synced: 2025-03-24T12:15:16.725Z (about 1 year ago)
- Topics: auth, wallet-connection
- Language: TypeScript
- Homepage:
- Size: 2.11 MB
- Stars: 22
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
> [!Important]
> This repository is referencing the `mumbai` chain.
>
> `Mumbai` [is deprecated since 08/04/2024](https://blog.thirdweb.com/deprecation-of-mumbai-testnet/), 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 `mumbai` to another chain.
## Login with Wallet
This project demonstrates how to setup a wallet-based authentication flow compliant with the
[sign-in with ethereum](https://eips.ethereum.org/EIPS/eip-4361) 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](./login-with-wallet-next) - Uses [Next.js](https://nextjs.org/) ([React](https://reactjs.org/) and [Express](https://expressjs.com/)) for both the frontend and backend.
- [Login with Wallet Next Fiber](./login-with-wallet-next-fiber) - Uses [Next.js](https://nextjs.com/) ([React](https://reactjs.org/)) for the frontend and a [Go Fiber](https://gofiber.io/) for the backend.
- [Login with Wallet Next Flask](./login-with-wallet-next-flask) - Uses [Next.js](https://nextjs.com/) ([React](https://reactjs.org/)) for the frontend and a [Flask](https://flask.palletsprojects.com/) for the backend.
## Learn More
To learn more about thirdweb and the authentication SDk, checkout the following resources:
- [Auth Documentation](https://portal.thirdweb.com/building-web3-apps/authenticating-users) - learn about thirdweb authentication.
- [React Documentation](https://docs.thirdweb.com/react) - learn about our React SDK.
- [TypeScript Documentation](https://docs.thirdweb.com/typescript) - learn about our TypeScript SDK.
- [Python Documentation](https://docs.thirdweb.com/python) - learn about our Python SDK.
- [Go Documentation](https://docs.thirdweb.com/go) - learn about our Go SDK.
- [Portal](https://docs.thirdweb.com) - check our guides and development resources.
You can check out [the thirdweb GitHub organization](https://github.com/thirdweb-dev) - your feedback and contributions are welcome!
## Join our Discord!
For any questions, suggestions, join our discord at [https://discord.gg/thirdweb](https://discord.gg/thirdweb).