feat: Move to passport for authentication (#1934)

- Added `accountProvisioner`
- Move authentication to use passport strategies
- Make authentication more pluggable
- Change language of services -> providers

closes #1120
This commit is contained in:
Tom Moor
2021-03-11 10:02:22 -08:00
committed by GitHub
parent dc967be4fc
commit 5d6f68d399
33 changed files with 1104 additions and 725 deletions

View File

@@ -66,6 +66,7 @@
"@babel/preset-env": "^7.11.0",
"@babel/preset-flow": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@outlinewiki/koa-passport": "^4.1.4",
"@rehooks/window-scroll-position": "^1.0.1",
"@sentry/node": "^6.1.0",
"@sentry/react": "^6.1.0",
@@ -94,7 +95,6 @@
"flow-typed": "^2.6.2",
"focus-visible": "^5.1.0",
"fs-extra": "^4.0.2",
"google-auth-library": "^5.5.1",
"http-errors": "1.4.0",
"i18next": "^19.8.3",
"i18next-http-backend": "^1.0.21",
@@ -129,6 +129,9 @@
"nodemailer": "^4.4.0",
"outline-icons": "^1.24.0",
"oy-vey": "^0.10.0",
"passport": "^0.4.1",
"passport-google-oauth2": "^0.2.0",
"passport-slack-oauth2": "^1.1.0",
"pg": "^8.5.1",
"pg-hstore": "^2.3.3",
"polished": "3.6.5",