https://github.com/corbado/example-passkeys-dotnet
This is a sample repository of a ASP.NET Core app that offers passkey authentication.
https://github.com/corbado/example-passkeys-dotnet
asp-net csharp dotnet dotnet-core faceid fido2 nuget passkey passkeys touchid webauthn
Last synced: 10 days ago
JSON representation
This is a sample repository of a ASP.NET Core app that offers passkey authentication.
- Host: GitHub
- URL: https://github.com/corbado/example-passkeys-dotnet
- Owner: corbado
- Created: 2023-10-06T11:33:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-15T11:28:56.000Z (over 1 year ago)
- Last Synced: 2025-04-10T22:17:38.222Z (10 days ago)
- Topics: asp-net, csharp, dotnet, dotnet-core, faceid, fido2, nuget, passkey, passkeys, touchid, webauthn
- Language: HTML
- Homepage: https://www.corbado.com/passkeys/dotnet
- Size: 914 KB
- Stars: 14
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Passkey-First Authentication with ASP.NET Core and Corbado
This is a sample implementation of a ASP.NET Core application that offers passkey authentication. For simple passkey-first authentication, the Corbado web component is used.
Please see the [full blog post](https://www.corbado.com/blog/passkeys-asp-net-core) to understand the detailed steps needed to integrate passkeys with ASP.NET Core apps.
## File structure
```
├── corbado-demo
| ├── api
| | ...
| | └── Pages
| | ├── Index.cshtml # The page which shows info about your profile when logged in
| | └── Login.cshtml # The login page
| |
| └── Properties
| └── launchSettings.json # Contains environment variables
```## Prerequisites
Please follow the steps in [Getting started](https://docs.corbado.com/overview/getting-started) to create and configure
a project in the [Corbado developer panel](https://app.corbado.com/signin#register).Open the launchSettings.json file and enter your projectID in all configurations.
## Usage
Open the solution in Visual Studio and run the project (Hit the "play" button or go to "Debug -> Start Debugging")