This piece of express middleware auto-redirects a user to the authorization url needed for the user to give your app rights to access their Lono.

alert(test('123')); // should return '123!'