Skip to content

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

Notifications You must be signed in to change notification settings

corbado/example-passkeys-remix

Repository files navigation

GitHub Repo Cover

Remix 2 Passkey Example App

License Slack

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.

💬 Support & Feedback

Report an issue

If you encounter any bugs or have suggestions, please open an issue.

Slack channel

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

Slack

Email

You can also reach out to us via email at vincent.delitz@corbado.com.

Vulnerability reporting

Please report suspected security vulnerabilities in private to security@corbado.com. Please do NOT create publicly viewable issues for suspected security vulnerabilities.