Nincs leírás

Lukas Angerer dd1bb1609f Server side credential verification 2 éve
Properties c583cc32b1 Add basic index.html 2 éve
data dd1bb1609f Server side credential verification 2 éve
requests 69b1c499d1 Building credentials create options 2 éve
wwwroot 2e17a7955e Client side login code 2 éve
.gitignore fe9fba8e8d Initial commit 2 éve
Base64UrlConverter.cs fa10fcb7fa Saving credentials on the server 2 éve
CredentialManager.cs dd1bb1609f Server side credential verification 2 éve
Folder.DotSettings 69b1c499d1 Building credentials create options 2 éve
NameTransform.cs 69b1c499d1 Building credentials create options 2 éve
OptionsCache.cs dd1bb1609f Server side credential verification 2 éve
OptionsWithName.cs dd1bb1609f Server side credential verification 2 éve
Passwordless.csproj c583cc32b1 Add basic index.html 2 éve
Passwordless.http fe9fba8e8d Initial commit 2 éve
Program.cs dd1bb1609f Server side credential verification 2 éve
README.md 69b1c499d1 Building credentials create options 2 éve
appsettings.Development.json fe9fba8e8d Initial commit 2 éve
appsettings.json fe9fba8e8d Initial commit 2 éve

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": ""
    }