mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
40574bc8ec
Before this fix an anonymous user was not able to access a resource that were configured with a bypass policy. This was due to a useless check of the userid in the auth session. Moreover, in the case of an anonymous user, we should not check the inactivity period since there is no session. Also refactor /verify endpoint for better testability and add tests in a new suite.
147 lines
3.9 KiB
JSON
147 lines
3.9 KiB
JSON
{
|
|
"name": "authelia",
|
|
"version": "3.12.0",
|
|
"description": "2FA Single Sign-On server for nginx using LDAP, TOTP and U2F",
|
|
"bin": {
|
|
"authelia": "./dist/server/src/index.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.0.0 <10.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "./scripts/authelia-scripts suites start",
|
|
"build": "./scripts/authelia-scripts build",
|
|
"unittest": "./scripts/authelia-scripts unittest",
|
|
"test": "./scripts/authelia-scripts suites test",
|
|
"travis": "./scripts/authelia-scripts travis",
|
|
"cover": "NODE_ENV=test nyc npm t",
|
|
"scripts": "./scripts/authelia-scripts",
|
|
"hash-password": "./scripts/authelia-scripts hash-password"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/clems4ever/authelia"
|
|
},
|
|
"author": "Clement Michaud <clement.michaud34@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/clems4ever/authelia/issues"
|
|
},
|
|
"apidoc": {
|
|
"title": "Authelia API documentation"
|
|
},
|
|
"dependencies": {
|
|
"ajv": "^6.3.0",
|
|
"bluebird": "^3.5.0",
|
|
"body-parser": "^1.15.2",
|
|
"connect-redis": "^3.4.1",
|
|
"crypt3": "^1.0.0",
|
|
"ejs": "^2.5.5",
|
|
"express": "^4.14.0",
|
|
"express-request-id": "^1.4.0",
|
|
"express-session": "^1.14.2",
|
|
"helmet": "^3.12.0",
|
|
"ldapjs": "^1.0.2",
|
|
"mongodb": "^3.0.5",
|
|
"nedb": "^1.8.0",
|
|
"nodemailer": "^4.0.1",
|
|
"nodemailer-direct-transport": "^3.3.2",
|
|
"nodemailer-smtp-transport": "^2.7.4",
|
|
"object-path": "^0.11.3",
|
|
"randomatic": "^3.1.0",
|
|
"randomstring": "^1.1.5",
|
|
"speakeasy": "^2.0.0",
|
|
"u2f": "^0.1.2",
|
|
"u2f-api": "^1.0.7",
|
|
"url-parse": "^1.4.4",
|
|
"winston": "^2.3.1",
|
|
"yamljs": "^0.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bluebird": "^3.5.4",
|
|
"@types/body-parser": "^1.16.3",
|
|
"@types/chokidar": "^1.7.5",
|
|
"@types/commander": "^2.12.2",
|
|
"@types/connect-redis": "0.0.9",
|
|
"@types/ejs": "^2.3.33",
|
|
"@types/express": "^4.0.35",
|
|
"@types/express-session": "1.15.8",
|
|
"@types/helmet": "0.0.37",
|
|
"@types/ldapjs": "^1.0.3",
|
|
"@types/mocha": "^5.2.6",
|
|
"@types/mockdate": "^2.0.0",
|
|
"@types/mongodb": "^3.0.9",
|
|
"@types/nedb": "^1.8.3",
|
|
"@types/node-fetch": "^2.1.4",
|
|
"@types/nodemailer": "^4.6.0",
|
|
"@types/nodemailer-direct-transport": "^1.0.31",
|
|
"@types/nodemailer-smtp-transport": "^2.7.4",
|
|
"@types/object-path": "^0.9.28",
|
|
"@types/query-string": "^5.1.0",
|
|
"@types/randomstring": "^1.1.5",
|
|
"@types/request": "^2.0.5",
|
|
"@types/request-promise": "^4.1.38",
|
|
"@types/selenium-webdriver": "^3.0.4",
|
|
"@types/sinon": "^4.3.0",
|
|
"@types/speakeasy": "^2.0.2",
|
|
"@types/tmp": "0.0.33",
|
|
"@types/url-parse": "^1.4.2",
|
|
"@types/winston": "^2.3.2",
|
|
"@types/yamljs": "^0.2.30",
|
|
"apidoc": "^0.17.6",
|
|
"chokidar": "^2.0.4",
|
|
"chromedriver": "^2.37.0",
|
|
"commander": "^2.19.0",
|
|
"concurrently": "^4.1.0",
|
|
"grunt": "^1.0.3",
|
|
"grunt-contrib-clean": "^2.0.0",
|
|
"grunt-contrib-copy": "^1.0.0",
|
|
"grunt-run": "^0.8.0",
|
|
"istanbul": "^0.4.5",
|
|
"jquery": "^3.2.1",
|
|
"mocha": "^6.0.2",
|
|
"mockdate": "^2.0.1",
|
|
"node-fetch": "^2.3.0",
|
|
"nodemon": "^1.18.9",
|
|
"nyc": "^13.3.0",
|
|
"query-string": "^6.0.0",
|
|
"readable-stream": "^2.3.3",
|
|
"request": "^2.88.0",
|
|
"request-promise": "^4.2.2",
|
|
"selenium-webdriver": "^4.0.0-alpha.1",
|
|
"should": "^13.2.1",
|
|
"sinon": "^5.0.7",
|
|
"tmp": "0.0.33",
|
|
"tree-kill": "^1.2.1",
|
|
"ts-mock-imports": "^1.2.3",
|
|
"ts-node": "^6.0.1",
|
|
"tslint": "^5.2.0",
|
|
"typescript": "^2.9.2",
|
|
"typescript-json-schema": "^0.23.0"
|
|
},
|
|
"nyc": {
|
|
"include": [
|
|
"src/*.ts",
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"doc",
|
|
"src/types",
|
|
"dist",
|
|
"test",
|
|
"src/**/*.d.ts"
|
|
],
|
|
"extension": [
|
|
".ts"
|
|
],
|
|
"require": [
|
|
"ts-node/register"
|
|
],
|
|
"reporter": [
|
|
"json",
|
|
"html"
|
|
],
|
|
"all": true
|
|
}
|
|
}
|