Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/corbado/example-passkeys-remix

Remix app with TypeScript repository of a sample app that offers passkey authentication.
https://github.com/corbado/example-passkeys-remix

faceid fido2 javascript passkey passkeys react remix touchid typescript webauthn

Last synced: 29 days ago
JSON representation

Remix app with TypeScript repository of a sample app that offers passkey authentication.

Awesome Lists containing this project

README

        

GitHub Repo Cover

# Remix 2 Passkey Example App

[![License](https://img.shields.io/badge/license-MIT-green)](./LICENSE)
[![Slack](https://img.shields.io/badge/slack-join%20chat-brightgreen.svg)](https://join.slack.com/t/corbado/shared_invite/zt-1b7867yz8-V~Xr~ngmSGbt7IA~g16ZsQ)

## Welcome to Corbado

This example demonstrates how to combine the Corbado React component, `@corbado/react` and integrate it with Remix for a seamless user experience.

## Structure of the Application

```
.
├── .env
├── package.json
└── app
├── entry.client.tsx
├── root.tsx
├── utilities
│ ├── AuthComponent.client.tsx
│ └── ProfileComponent.client.tsx
└── routes
├── _index.tsx
└── profile.tsx
```

## Points to Note

- For the Corbado React package to work with Remix, you need to prevent the Server bundle rom containing any imports from `@corbado/react` when building. This is achieved with putting Corbado imports only inside files that have `.client` in front of their file extension (e.g. `AuthComponent.client.tsx`). Inside your routes SSR of these Components needs to be diabled with the help of [this method](https://remix.run/docs/en/main/route/hydrate-fallback).

## :speech_balloon: Support & Feedback

### Report an issue

If you encounter any bugs or have suggestions, please [open an issue](https://github.com/corbado/example-passkeys-remix/issues/new).

### Slack channel

Join our Slack channel to discuss questions or ideas with the Corbado team and other developers.

[![Slack](https://img.shields.io/badge/slack-join%20chat-brightgreen.svg)](https://join.slack.com/t/corbado/shared_invite/zt-1b7867yz8-V~Xr~ngmSGbt7IA~g16ZsQ)

### Email

You can also reach out to us via email at [email protected].

### Vulnerability reporting

Please report suspected security vulnerabilities in private to [email protected]. Please do NOT create publicly viewable issues for suspected security vulnerabilities.