An open API service indexing awesome lists of open source software.

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

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).