Coder Social home page Coder Social logo

fido-snippets's Introduction

fido-snippets's People

Contributors

adrianba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fido-snippets's Issues

Invalid access Error for msCredential.makecredential API

Hi ,
I registered [email protected] with WindowsHello and trying to call makecredential API but it gives error : InvalidAccessError.

I didn't find any information about this error code , what could be the possible reason of this error?

var credInfo = {
    account: {
        default: {
            rpDisplayName: "fido demo",
            displayName: "[email protected]",
            name: "[email protected]",
        },
    },
    cryptoParameters: {
        default:[ {
            type: 'ScopedCred',
            algorithm: 'RSASSA-PKCS1-v1_5'
        }]
    },
};
msCredentials.makeCredential(credInfo.account.default, credInfo.cryptoParameters.default).then(function (cred) {
document.write(cred.type);
}).catch(function (err) {
	document.write("Caught error is : " + err);
})

How can i run this fido 2.0

Hi, i have read your code and i run java package in Eclipse with Maven but i can not run it with any command such as run with server tomcat:run, clean install,.. Can you help me to run and test it? Thanks!

documentation for InvalidAccessError?

When running the following code:

var Helpers = {
    account: {
        default: {
            rpDisplayName: "ACME Corporation",
            displayName: "John P. Smith",
            name: "[email protected]",
            id: "5757dfa7-c89d-4ff5-a820-b8a6cbdea281",
            imageURL: "http://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50"
        },
    },
    cryptoParameters: {
        default: {
            type: 'ScopedCred',
            algorithm: 'RSASSA-PKCS1-v1_5'
        }
    },
    attestationChallenge: {
        default: "a76262397000461a8feae698b1a9712714e9aa740ddf4073901a30b9e2aa5a59"
    }
};


    window.webauthn.makeCredential(Helpers.account.default, Helpers.cryptoParameters.default, Helpers.attestationChallenge.default, undefined, undefined, undefined)
      .then(function(result) {
        console.log("Promise resolved successfully:", result);
        done();
      })
      .catch(function(err) {
        // assert.fail("no error", err, "Promise should not have failed");
        console.log("promiseResolveSuccess Error:", err);
        done(err);
      });

I get the result: "promiseResolveSuccess Error: InvalidAccessError". It's not entirely clear to me whether this is because Hello is misconfigured / unavailable; some sort of db error; or something else entirely.

Any hints as to how to resolve this error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.