Indaba Auth
var authenticate = lydianEndpoint: 'zzz' clientId: 'xxx' clientSecret: 'yyy'; // middlewarevar app = ;app;
Middleware
When using the middleware, POST to /login
with:
username
andpassword
for normal authfacebook_token
for Facebook auth
Tests
Ensure that these environment variables are set (add exports to your bashrc):
INDABA_TEST_ENDPOINT='https://lydian.indavelopment.com'
INDABA_TEST_CLIENT=''
INDABA_TEST_SECRET=''
INDABA_TEST_USERNAME=''
INDABA_TEST_PASSWORD=''
npm test