Giter Club home page Giter Club logo

account's Introduction

account CircleCI

Install

  • $ npm i

You need node > 8 and npm >= 5

Dev

  • npm run dev

You must have the lib frontend-commons. As it's not available yet, install it via npm link ;)

You must also set up the file src/config.js.

U2F

First add in src/config.js the u2f object, with value. This value should also be compatible with the server side:

{
    "appId": "the route to the app id",
    "timeout": 1 // timeout value
}

Testing

Testing U2F can be complicated: the server must accept a U2F binding on the localhost domain. For that, the domain must use the app id https://localhost.

In order to test U2F without having a physical device, the chrome extension virtual-u2f can be used. This extension is only suitable for testing purposes. It is not possible to combine this extension with regular U2F token.

Mac users can also try the SoftU2F project (maintained by github, more secure than virtual-u2f). Linux users can try the equivalent Rust U2F project (unstable).

App ID

The app id specification are very strict. Some rules are:

Deleting the AppID or moving it to another route will deactivate every registered key. It is possible to use a 3XX redirection (see 9. from the doc for more info).

account's People

Contributors

dhoko avatar epokk avatar thhareau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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

Forkers

ctsin

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.