Keine Beschreibung

Lukas Angerer 69b1c499d1 Building credentials create options vor 2 Jahren
Properties c583cc32b1 Add basic index.html vor 2 Jahren
data 9489ae5648 WIP: credential options vor 2 Jahren
requests 69b1c499d1 Building credentials create options vor 2 Jahren
wwwroot 9489ae5648 WIP: credential options vor 2 Jahren
.gitignore fe9fba8e8d Initial commit vor 2 Jahren
Folder.DotSettings 69b1c499d1 Building credentials create options vor 2 Jahren
NameTransform.cs 69b1c499d1 Building credentials create options vor 2 Jahren
Passwordless.csproj c583cc32b1 Add basic index.html vor 2 Jahren
Passwordless.http fe9fba8e8d Initial commit vor 2 Jahren
Program.cs 69b1c499d1 Building credentials create options vor 2 Jahren
README.md 69b1c499d1 Building credentials create options vor 2 Jahren
appsettings.Development.json fe9fba8e8d Initial commit vor 2 Jahren
appsettings.json fe9fba8e8d Initial commit vor 2 Jahren

README.md

This is a very basic demo of passwordless authentication in the web, also known as "WebAuthn".

Overview

Technical Details

CredentialCreateOptions generated by the program looks like this:

  • The algorithm identifiers are defined in the IANA registry

    {
    "rp": {
    "id": "localhost",
    "name": "FIDO2 Test"
    },
    "user": {
    "name": "test osteron",
    "id": "VGVzdCBPc3Rlcm9u",
    "displayName": "Test Osteron"
    },
    "challenge": "UkTN1q5kjoWcHOFTB6AZWQ",
    "pubKeyCredParams": [
    {
      "type": "public-key",
      "alg": -7
    },
    {
      "type": "public-key",
      "alg": -257
    },
    {
      "type": "public-key",
      "alg": -37
    },
    {
      "type": "public-key",
      "alg": -35
    },
    {
      "type": "public-key",
      "alg": -258
    },
    {
      "type": "public-key",
      "alg": -38
    },
    {
      "type": "public-key",
      "alg": -36
    },
    {
      "type": "public-key",
      "alg": -259
    },
    {
      "type": "public-key",
      "alg": -39
    },
    {
      "type": "public-key",
      "alg": -8
    }
    ],
    "timeout": 60000,
    "attestation": "none",
    "authenticatorSelection": {
    "requireResidentKey": false,
    "userVerification": "discouraged"
    },
    "excludeCredentials": [],
    "extensions": {
    "exts": true,
    "uvm": false
    },
    "status": "ok",
    "errorMessage": ""
    }