Read this in other languages: 🇧🇷 Português 🟢🟡
nfidSign is the third authentication project I developed this week, focused on using the NFID protocol on the Internet Computer (ICP) network. This project demonstrates how to authenticate users using NFID, a login solution that supports Google accounts and also automatically creates a wallet during the authentication process.
- Login with NFID, including support for Google accounts.
- Automatic creation of a wallet for the user during login.
- Display of messages indicating whether the user is authenticated.
- Logout option to end the user session.(soon)
- React: JavaScript library for building user interfaces.
- Vite: Modern tool for frontend development.
- DFINITY AuthClient: Library for authentication in Internet Computer-based projects.
- Sass: CSS extension language used for styling.
- Integration with the NFID protocol for secure authentication.
- Setting up React projects with Vite for agile development.
- Using AuthClient for identity management on ICP.
- Responsive and user-friendly styling with Sass.
- Understanding how wallets work in the ICP ecosystem, automatically created by NFID.
-
Make sure you're using a compatible environment:
- For Windows users, you need to install Windows Subsystem for Linux (WSL) and set up a Linux distribution.
-
Install the authentication library:
npm install --save @dfinity/auth-client
- Start ICP:
dfx start --background
- Deploy the project:
dfx deploy