Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Yo use FIDOw FIDO2 keys in web browsers, we have to use the FIDO2 Web Authentication (WebAuthn) API. WebAuthn is a set of standards and APIs that allows the browser to communicate with the operating system and deal with using cryptographic keys. WebAuthn falls under FIDO2 standards, but it was developed by the W3C.

...

This article demonstrates how to use the webauth-json JavaScript library and DualShield API to register a FIDO2 key for a user in a web browser. 

Table of Contents

...

Expand
titletoken/preRegister

Include Page
token/.preRegister
token/.preRegister


Expand
titletoken/register

Include Page
token/.register
token/.register

Pre-Reigster FIDO2 Token

...

Expand
titletoken/preRegister

Include Page
token/.preRegister
token/.preRegister


Code Block
languagejs
let json = {
    product: this.fidoObj,
    user: { loginName: this.loginName}, \\ Pass the user name to which the Fido2 key needs to be registered
};

...

Expand
titletoken/register

Include Page
token/.register
token/.register


Code Block
languagejs
let json = {
      product:{productCode: this.fidoObj.productCode},
      application: {name: ""},
      user: { loginName: this.loginName },
      token: token
      };

...