Skip to content

Bitwarden Passwordless.dev React example.

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.txt
GPL-3.0
LICENSE_GPL.txt
Notifications You must be signed in to change notification settings

bitwarden/passwordless-react-example

Repository files navigation

React Example

Requirements

Project

There are many React frameworks available, in this example, we did not make use of a framework such as:

  • NextJS
  • Remix
  • Gatbsy

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

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

npm install
npm run dev