rest - Github Passport strategy for Composer -
i'm trying configure user authentication via rest api using github strategy per documentation at: https://hyperledger.github.io/composer/integrating/enabling-rest-authentication.html
i installed passport-github strategy executing - npm install -g passport-github
but noticed install did not create needed ("authpath": "/auth/github"
) folder on vm.
i read on github website: https://github.com/cfsghost/passport-github
the author of passport-github has not maintained original module long time. features in module don't work since github upgraded api version 3.0. forked , re-published npm new name passport-github2
can confirm if needs correction? , if exact steps need follow?
if check age of last commit, see original repo jaredhanson/passport-github shows following last commit:
latest commit c103215 on feb 3, 2016
the new repo cfsghost/passport-github has readme.md update 21 days ago (mid august 2017) , before last commit on:
d572f18 on mar 1, 2016 ...and version bump
so can tell, "new" package not newer. forked in august 2014.
after creating folder mentioned. work?
Comments
Post a Comment