npm install passport-abakus
passport-abakus is a passport strategy that can be used to to authenticate users against the API of abakus.no. If you would like to use it you need a API token. Contact email@example.com to request one.
This module is based on passport-local. The setup should be fairly the same except it is not necessary to write the strategy.
var passport = ;var abakusStrategy = ;passport;app;
In addition to add the strategy in your app. You must make sure that the
API token is stored in a environment variable called
abakusStrategy takes options as an object. The different options are listed
requireAbakom(default: false) - if set to true any user that is not a member of abakom will not be able to log in.
Open an issue or a pull-request with your fix or awesome new feature. Make sure to check those that are already open, to avoid duplicates.
MIT © webkom, Abakus Linjeforening