https://github.com/bitwarden/passwordless-react-example
Bitwarden Passwordless.dev React example.
https://github.com/bitwarden/passwordless-react-example
bitwarden react
Last synced: 2 months ago
JSON representation
Bitwarden Passwordless.dev React example.
- Host: GitHub
- URL: https://github.com/bitwarden/passwordless-react-example
- Owner: bitwarden
- License: other
- Created: 2023-08-08T12:34:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-31T23:24:21.000Z (2 months ago)
- Last Synced: 2025-08-01T01:34:56.328Z (2 months ago)
- Topics: bitwarden, react
- Language: TypeScript
- Homepage: https://bitwarden.com/
- Size: 452 KB
- Stars: 17
- Watchers: 15
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# React Example
## Requirements
- Demo backend: https://demo.passwordless.dev/swagger/index.html
- This could be what your backend looks like. It's a simple API that allows you to create a user, login, and logout. It's a passwordless authentication system, so you don't need to worry about passwords.## Project
There are many React frameworks available, in this example, we did not make use of a framework such as:
- NextJS
- Remix
- GatbsyWe started with a simple React project using Vite as the build tool.
### Configuration
Create and modify a `.env` file as required for your own needs in the project's root directory.```shell
VITE_BACKEND_URL=https://demo.passwordless.dev
VITE_PASSWORDLESS_API_KEY=pwdemo:public:5aec1f24f65343239bf4e1c9a852e871
VITE_PASSWORDLESS_API_URL=https://v4.passwordless.dev
```### Running the project
```shell
npm install
npm run dev
```