1.0.2 • Published 8 years ago
express-oauth2-handler v1.0.2
express-oauth2
Expressjs middleware implement oauth2.
This middleware delegate AUTHENTICATION to AuthProviders, bundled with this module tow authProviders - Memory and Sqlite3 has been implemented just for testing purpose. You should implement your own authorization providers with different backend Identity Managers e.g. LDAP, Postgres, or 3rd party services.
TODO
- Implement asymmetric encryption. Now only passphrase encryption supported.
- Implement Authorization Code flow
- Implement refresh token flow
Dependencies
Testing
mocha is required to run unit tests.
In the project root directory run the following:
npm install mocha
npm test