Skip to content
  • BitID Authentication Plugin

    Feature Requests
    1
    0 Votes
    1 Posts
    2k Views
    v4V
    I desperately need a NodeBB plugin which supports BitID authentication. OR A bitID oAuth-Server which integrates with a NodeBB-SSO-plugin. After installation of the plugin there has to show up a 'log-in with BitID' button like following example. <a href="bitid://bitid-js-demo.herokuapp.com/callback?x=d34c307a642266e4&amp">login with bitID </a> After the correctly signed message is posted to the server he needs to login the user (his username is the address) if he already exists in the NodeBB database OR to create his account and then to log him in. Login in into NodeBB probably means setting a cookie. Further for each user a nounce needs be tracked in the DB to prevent attacks. To prevent spaming there should be a check whether his address exists (ever had a transaction) in the blockchain (call to insight.bitpay.com/blockchain.info is best). Ressources: https://github.com/bitid/bitid https://nodebb.org/ https://github.com/porkchop/bitid-js Related: https://www.npmjs.com/package/passport-bitauth Reward: 0.3 BTC