Skip to content
Node client for India Aadhaar apis
Branch: master
Clone or download
Pull request Compare This branch is even with kbhokray:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
public/stylesheets
res
routes
utils
views
.gitignore
README.md
app.js
package.json

README.md

Aadhaar

Nodejs code for Aadhaar OTP 1.5, 1.6 and Aadhaar Auth 1.6, 2.0 APIs. All test certificates are included, so, it just works :). A part of the project depends on open-ssl. Make sure you have that. Feel free to fork / create PRs. I'll keep updating if it is useful

Quick usage

Auth:

cd aadhaar
npm install
node lib/auth/xml.js

OTP:

cd aadhaar
npm install
node lib/otp/xml.js

Main codes in lib/auth/xml.js and lib/otp/xml.js. Keys in res/. License Keys, Test data in utils/constants.js

TODO
  • Add service
  • Add front-end
  • Add other aadhaar apis
  • Remove dependency on open-ssl by editing xml-signer
  • Cleanup redundant crypto modules (pem, crypto)
  • Add XSD verification
  • Update README
You can’t perform that action at this time.