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

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.

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")