Skip to content

This is a sample repository of a React app that offers passkey authentication.

License

Notifications You must be signed in to change notification settings

nicolaistein/example-passkeys-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complete passkeys integration example for React with Corbado

This is a sample implementation of the Corbado web component being integrated into a web application built with React.

File structure

  • src/index.js: routing for the React web app
  • src/Home.js: component for the sign up / login screen
  • src/Profile.js: :component for the user profile information that is shown after successful authentication
  • .env: add Corbado project id as environment variables that you can obtain from Corbado developer panel

Setup

Prerequisites

Please follow the steps in Getting started to create and configure a project in the Corbado developer panel.

You need to have Node and npm installed to run it.

Usage

Run

npm i

to install all dependencies.

Finally, you can run the project locally with

npm start

About

This is a sample repository of a React app that offers passkey authentication.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.3%
  • HTML 27.1%
  • CSS 14.6%