A browserless, "Chrome-as-a-service", framework for advanced authentication management. Featuring a plugin-system through services that allow customization for various web services.
yarn add authless
# - or -
npm install authless
CHROME_USER_DATA_DIR
: If set user data profiles are stored in that directory, otherwise chrome default dir is used. Example:/path/to/dir/
. Default:undefined
const {
Authless,
Account,
Router,
Route,
Service,
ServiceDefault
} = require('@authless/core');
// initate services
const defaultService = new DefaultService();
// add accounts to services (or do it sometime later)
defaultService.add(new Account(config));
// initiate router with services
const router = new Router([
...DefaultService.getRoutes(defaultService, Route),
]);
// and finally, initiate authless
const authless = new Authless(router);