Since next-auth doesn't use JWT anymore, remove the nextauth-jwt plugin

..and replace it with the Auth Bearer plugin.
This commit is contained in:
Abel Luck 2023-06-06 13:21:09 +00:00
parent 24d52eef3d
commit bdad5f551c
7 changed files with 52 additions and 112 deletions

22
package-lock.json generated
View file

@ -137,6 +137,7 @@
"fluent-ffmpeg": "^2.1.2",
"graphile-migrate": "^1.4.1",
"graphile-worker": "^0.13.0",
"hapi-auth-bearer-token": "^8.0.0",
"hapi-auth-jwt2": "^10.4.0",
"hapi-postgraphile": "^0.11.0",
"hapi-swagger": "^16.0.1",
@ -11597,6 +11598,27 @@
"topo": "3.x.x"
}
},
"node_modules/hapi-auth-bearer-token": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/hapi-auth-bearer-token/-/hapi-auth-bearer-token-8.0.0.tgz",
"integrity": "sha512-1YeUlwhhky8tnNx9bOQPB/TvsEwbgcYwAZ6DAvHlK+tHRiMbXU+2HNE8qpRia+oj21W2K/omaxyZIB5dOzTPoA==",
"dependencies": {
"@hapi/hoek": "^9.0.0"
},
"engines": {
"node": ">=8.0.0"
},
"peerDependencies": {
"@hapi/boom": ">=7.x.x",
"@hapi/hapi": ">=19.x.x",
"joi": ">=17.x.x"
}
},
"node_modules/hapi-auth-bearer-token/node_modules/@hapi/hoek": {
"version": "9.3.0",
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
"integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ=="
},
"node_modules/hapi-auth-jwt2": {
"version": "10.4.0",
"resolved": "https://registry.npmjs.org/hapi-auth-jwt2/-/hapi-auth-jwt2-10.4.0.tgz",