Add external login tests
authorChocobozzz <me@florianbigard.com>
Wed, 29 Apr 2020 07:04:42 +0000 (09:04 +0200)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 4 May 2020 14:21:39 +0000 (16:21 +0200)
commit9107d791e2eef9a1b24b0499dac8b9dbba8a792f
treef09b20f06008b094f3266b39063bc9785dfebf5f
parent4a8d113b9b57d97ff13ad1608798eabca99643e4
Add external login tests
19 files changed:
server/controllers/api/users/token.ts
server/initializers/constants.ts
server/lib/auth.ts
server/lib/oauth-model.ts
server/lib/plugins/plugin-manager.ts
server/lib/plugins/register-helpers-store.ts
server/tests/api/check-params/plugins.ts
server/tests/external-plugins/auth-ldap.ts
server/tests/fixtures/peertube-plugin-test-external-auth-one/main.js [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-external-auth-one/package.json [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-external-auth-two/main.js [new file with mode: 0644]
server/tests/fixtures/peertube-plugin-test-external-auth-two/package.json [new file with mode: 0644]
server/tests/plugins/external-auth.ts [new file with mode: 0644]
server/tests/plugins/id-and-pass-auth.ts
server/tests/plugins/index.ts
shared/extra-utils/requests/requests.ts
shared/extra-utils/server/plugins.ts
shared/extra-utils/users/login.ts
shared/models/plugins/register-server-auth.model.ts