Try to hack auth

This commit is contained in:
Jared Palmer 2023-06-02 11:15:04 -04:00
parent d88eae7230
commit 030b23985d
19 changed files with 330 additions and 673 deletions

138
pnpm-lock.yaml generated
View file

@ -4,9 +4,12 @@ overrides:
'@auth/core': 0.0.0-manual.527fff6c
dependencies:
'@auth/core':
specifier: 0.0.0-manual.527fff6c
version: 0.0.0-manual.527fff6c
'@auth/nextjs':
specifier: 0.0.0-manual.030e8328
version: 0.0.0-manual.030e8328(next@13.4.3-canary.3)(react@18.2.0)
version: 0.0.0-manual.030e8328(next@13.4.5-canary.3)(react@18.2.0)
'@next-auth/prisma-adapter':
specifier: 1.0.6
version: 1.0.6(@prisma/client@4.14.0)(next-auth@4.22.1)
@ -25,6 +28,9 @@ dependencies:
'@vercel/postgres':
specifier: ^0.3.0
version: 0.3.0
ai-connector:
specifier: ^0.0.5
version: 0.0.5(react@18.2.0)
body-scroll-lock:
specifier: 4.0.0-beta.0
version: 4.0.0-beta.0
@ -65,11 +71,11 @@ dependencies:
specifier: ^4.0.2
version: 4.0.2
next:
specifier: 13.4.3-canary.3
version: 13.4.3-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
specifier: 13.4.5-canary.3
version: 13.4.5-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
next-themes:
specifier: ^0.2.1
version: 0.2.1(next@13.4.3-canary.3)(react-dom@18.2.0)(react@18.2.0)
version: 0.2.1(next@13.4.5-canary.3)(react-dom@18.2.0)(react@18.2.0)
openai-edge:
specifier: ^0.5.1
version: 0.5.1
@ -154,8 +160,8 @@ devDependencies:
specifier: ^8.31.0
version: 8.40.0
eslint-config-next:
specifier: 13.4.3-canary.3
version: 13.4.3-canary.3(eslint@8.40.0)(typescript@4.9.5)
specifier: 13.4.5-canary.3
version: 13.4.5-canary.3(eslint@8.40.0)(typescript@4.9.5)
eslint-config-prettier:
specifier: ^8.3.0
version: 8.8.0(eslint@8.40.0)
@ -213,14 +219,14 @@ packages:
preact-render-to-string: 5.2.3(preact@10.11.3)
dev: false
/@auth/nextjs@0.0.0-manual.030e8328(next@13.4.3-canary.3)(react@18.2.0):
/@auth/nextjs@0.0.0-manual.030e8328(next@13.4.5-canary.3)(react@18.2.0):
resolution: {integrity: sha512-AAtUl9EVCKqLRneDAq6KfUprWmsBRzsBoQ+8ytz/Nfgs8Uax5CWvCJs2CsnYNk04bXSB4L7eyMJmc1zTzZKaHg==}
peerDependencies:
next: ^13.4.2
react: ^18.2.0
dependencies:
'@auth/core': 0.0.0-manual.527fff6c
next: 13.4.3-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
next: 13.4.5-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
react: 18.2.0
transitivePeerDependencies:
- nodemailer
@ -593,21 +599,21 @@ packages:
next-auth: ^4
dependencies:
'@prisma/client': 4.14.0(prisma@4.14.0)
next-auth: 4.22.1(next@13.4.3-canary.3)(react-dom@18.2.0)(react@18.2.0)
next-auth: 4.22.1(next@13.4.5-canary.3)(react-dom@18.2.0)(react@18.2.0)
dev: false
/@next/env@13.4.3-canary.3:
resolution: {integrity: sha512-AlAPQdQ2qf3RJsaaKMXo22l9MLUeqIiDJSJ1LcM9uWiOMIAgsLlQCxcoGcm7rQP9CSw4VPPFSpCR0tvCKmxVwQ==}
/@next/env@13.4.5-canary.3:
resolution: {integrity: sha512-2TrPvCIs8R9DpFpEDmGUOpWkVqbpb4+sGQMcZVP4zDYYg893p0nAbNbBxL996oBl+/vLTzcLIDceP5peHsGPzg==}
dev: false
/@next/eslint-plugin-next@13.4.3-canary.3:
resolution: {integrity: sha512-ggD4Z0psyVcLcr0QlGXu+zEdbiYZra8r9LZgL1XuTAtTl4H1h3QgpNB6ENVqJCQibH8h0bBktOrRpHiLwbyRQw==}
/@next/eslint-plugin-next@13.4.5-canary.3:
resolution: {integrity: sha512-hsFfLSo8snWDLBwDT7+i4gEWZjsEzNHlZLT0ox8ftcZo3XBz8FrX11h9yGacageRbiiTotl/5U31Dxrt7MVoBA==}
dependencies:
glob: 7.1.7
dev: true
/@next/swc-darwin-arm64@13.4.3-canary.3:
resolution: {integrity: sha512-MVmNJTKe50Qm5a6Khju3MpYiTie9ByJVT67rvYxCfZkd48p59PWoosu9tvCtlVuxb5jZxzOAZ/vzDciTs7Vgcw==}
/@next/swc-darwin-arm64@13.4.5-canary.3:
resolution: {integrity: sha512-mUlpzua0RDPLNfNeqi0DzWNCqVzMphNh42BS8PojVO3NPC55+RX9tllQngz+qFAOcLL7g4LgoeE9VWgh31s/WQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@ -615,8 +621,8 @@ packages:
dev: false
optional: true
/@next/swc-darwin-x64@13.4.3-canary.3:
resolution: {integrity: sha512-NLrVHpJNqrKF93gZEQSoEq1WAVy0JYq8fry7CvSj2cCjgQxna06LPfkX9R3Iu3eRJJD/idCxbedXjg52oma/sg==}
/@next/swc-darwin-x64@13.4.5-canary.3:
resolution: {integrity: sha512-0bkYuSFh1/0ZedCVsSMtHiSxdfQxF0BO/v5VwRdOLtOZE8WrQdoXsWiVsiFBOTutiZDhats9exFOFgmymoSqSA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@ -624,8 +630,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-gnu@13.4.3-canary.3:
resolution: {integrity: sha512-CfrQFtHsbSeN43o/OSMCSUmA610u3gteKhq1SGzzq7TVaT4OnqoHEHfROEmgrpAkIMq65yIlHJM/Aq3/EBkFaw==}
/@next/swc-linux-arm64-gnu@13.4.5-canary.3:
resolution: {integrity: sha512-+PxhM2E98APKNEl1FCwhqU9ttGRoWsZcPPU20qcKFrJ/fKbfaWDnhzlSiZPmmERISZrmd54Uy3maNq9ys+bz6g==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -633,8 +639,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-arm64-musl@13.4.3-canary.3:
resolution: {integrity: sha512-rRAilp0kqBAWJJuOfaK+GFclricB/lqFspFhk7U6tkYDHyXDZ/MrjTlfOraOJtqBTFtLM1zuzLvPhcK22DzJhA==}
/@next/swc-linux-arm64-musl@13.4.5-canary.3:
resolution: {integrity: sha512-KMRWPxeoZ41146NHpMAGMtD/RkQt/0QOlL13pREnNjeTzQI6P20X+ra5tHkCQoFB/8xseN9RXnuLMyYG3mYoGw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@ -642,8 +648,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-gnu@13.4.3-canary.3:
resolution: {integrity: sha512-9weSKDC6eJcDOhKURj/oKa7f9Z9fEZKjnYQBJDX/ojy1LThei/drRNXYrXTY1iay7tcbRhEBvtCiYaEPjvLBUA==}
/@next/swc-linux-x64-gnu@13.4.5-canary.3:
resolution: {integrity: sha512-dwSxDddWMaTAmSPxSWWrwaHHPqLlnNJoc22dTfyQX9Hwecq+Sq2RGSkGicga3z6Z7rX3Nm4MbNduM2GWXwcvgg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -651,8 +657,8 @@ packages:
dev: false
optional: true
/@next/swc-linux-x64-musl@13.4.3-canary.3:
resolution: {integrity: sha512-yODhVd1qvxFhUja4WrSJhZhyiLD85O5855FxCVxky85qb2+aTjWMYv5DM7sl1fzCag7EwtcI4+HJb4rkBMifRQ==}
/@next/swc-linux-x64-musl@13.4.5-canary.3:
resolution: {integrity: sha512-R2SqJsC6QPNxO3t/U2fMouzLfUNLHP8PfZH/XTIwQ12dxZCwUwBg/cNX5ocBtoci3lCYNcOLNjSuc3z9b/yIeQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@ -660,8 +666,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-arm64-msvc@13.4.3-canary.3:
resolution: {integrity: sha512-2SY5f5tndZtObiqS2Uioyou18Ef+fG5yzCj4EAvk1FhuQBoprLaVDyP3wehJACg9U5kYocvLA18wKIt8byhG2g==}
/@next/swc-win32-arm64-msvc@13.4.5-canary.3:
resolution: {integrity: sha512-/spv7kDp2xKUJzdvGFU2gf/N1lXtm/E2p/Fx/XreUyajiaT0f57d2mHfDabW5saq3KL3wPlWZ5zW7iDh2Awm+Q==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@ -669,8 +675,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-ia32-msvc@13.4.3-canary.3:
resolution: {integrity: sha512-eCEPIrSkpIG+k4h9d8h56lVhqpPjjFm/C/P3Vq1AGDSPh9DQ+xfWTleWBeVskKO4RZf1R4aCHLVw12rkQcLw8g==}
/@next/swc-win32-ia32-msvc@13.4.5-canary.3:
resolution: {integrity: sha512-VIlQ+emO306CYbIyEKu8RTAzmMw/z+akEhu2urZPKjj+UMKCLfq1w4u3GJfURfdRiJ5ws7fLXDHVAjon4G+Ygg==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@ -678,8 +684,8 @@ packages:
dev: false
optional: true
/@next/swc-win32-x64-msvc@13.4.3-canary.3:
resolution: {integrity: sha512-n8vAEOOiFgbXleiPTAQjiEgMFCLQaTqPl23fmzf/yKx2RjmWxYM19vn7SoaV20sVPK36KMAorxxYB7H/ny9hKw==}
/@next/swc-win32-x64-msvc@13.4.5-canary.3:
resolution: {integrity: sha512-JSb5haHmRxn2Jysrsw3UJ/mgNu0TD+JJdHyGkdQeGIM4V1Q1G/KgQNCTovWfimd8e1JUoZqSV4aX+y7zEDVkEg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@ -1284,6 +1290,18 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
/ai-connector@0.0.5(react@18.2.0):
resolution: {integrity: sha512-byHDAVQt3zlQ61uEBDKlOlY3uX2O+ahNVV1bnnHhnv4fNIlu+NWefxlRUqAxVM80tlCrS/+aXA8AlpkIZsa1tg==}
engines: {node: '>=14.6'}
peerDependencies:
react: ^18.0.0
dependencies:
eventsource-parser: 1.0.0
nanoid: 3.3.6
react: 18.2.0
swr: 2.1.5(react@18.2.0)
dev: false
/ajv@6.12.6:
resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==}
dependencies:
@ -2313,8 +2331,8 @@ packages:
engines: {node: '>=12'}
dev: false
/eslint-config-next@13.4.3-canary.3(eslint@8.40.0)(typescript@4.9.5):
resolution: {integrity: sha512-vKWwNIUvCRRZLHejVAu/eodOMRmTVYHsTnzFIAQeD7PEIbyJl8fTntPyoE3rPgChWamRYAWR9isyZER4ToUc7Q==}
/eslint-config-next@13.4.5-canary.3(eslint@8.40.0)(typescript@4.9.5):
resolution: {integrity: sha512-F1W76ozmRCPk8sxPXO4tSy3pstBerEfiZ1Aiagr+d2a+l/Mx5CgHWf75CwsQfpiC6BbAee8RrdIjb8kvGlPeww==}
peerDependencies:
eslint: ^7.23.0 || ^8.0.0
typescript: '>=3.3.1'
@ -2322,7 +2340,7 @@ packages:
typescript:
optional: true
dependencies:
'@next/eslint-plugin-next': 13.4.3-canary.3
'@next/eslint-plugin-next': 13.4.5-canary.3
'@rushstack/eslint-patch': 1.2.0
'@typescript-eslint/parser': 5.59.5(eslint@8.40.0)(typescript@4.9.5)
eslint: 8.40.0
@ -4031,7 +4049,7 @@ packages:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
dev: true
/next-auth@4.22.1(next@13.4.3-canary.3)(react-dom@18.2.0)(react@18.2.0):
/next-auth@4.22.1(next@13.4.5-canary.3)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-NTR3f6W7/AWXKw8GSsgSyQcDW6jkslZLH8AiZa5PQ09w1kR8uHtR9rez/E9gAq/o17+p0JYHE8QjF3RoniiObA==}
peerDependencies:
next: ^12.2.5 || ^13
@ -4046,7 +4064,7 @@ packages:
'@panva/hkdf': 1.1.1
cookie: 0.5.0
jose: 4.14.4
next: 13.4.3-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
next: 13.4.5-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
oauth: 0.9.15
openid-client: 5.4.2
preact: 10.14.1
@ -4056,14 +4074,14 @@ packages:
uuid: 8.3.2
dev: false
/next-themes@0.2.1(next@13.4.3-canary.3)(react-dom@18.2.0)(react@18.2.0):
/next-themes@0.2.1(next@13.4.5-canary.3)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==}
peerDependencies:
next: '*'
react: '*'
react-dom: '*'
dependencies:
next: 13.4.3-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
next: 13.4.5-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0)
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
dev: false
@ -4072,14 +4090,13 @@ packages:
resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==}
dev: true
/next@13.4.3-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-Fix/RAVHJHUpJZsvftaC5Pm8qGP7/NIitOBsKPozSPKIekCUWwKiaoLPY140taMgl9R+oW1nXKwYhAdjM8gSMg==}
/next@13.4.5-canary.3(@babel/core@7.21.8)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-5YLpHWSLjjInYlqxtkZZr7cwYp62wXEm7ik6Wu+4JqWQdbwD/pemuXwErxRIt65ruDQwe9RvE/dzMOuQuNDE+A==}
engines: {node: '>=16.8.0'}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
fibers: '>= 3.1.0'
node-sass: ^6.0.0 || ^7.0.0
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
@ -4088,12 +4105,10 @@ packages:
optional: true
fibers:
optional: true
node-sass:
optional: true
sass:
optional: true
dependencies:
'@next/env': 13.4.3-canary.3
'@next/env': 13.4.5-canary.3
'@swc/helpers': 0.5.1
busboy: 1.6.0
caniuse-lite: 1.0.30001486
@ -4103,15 +4118,15 @@ packages:
styled-jsx: 5.1.1(@babel/core@7.21.8)(react@18.2.0)
zod: 3.21.4
optionalDependencies:
'@next/swc-darwin-arm64': 13.4.3-canary.3
'@next/swc-darwin-x64': 13.4.3-canary.3
'@next/swc-linux-arm64-gnu': 13.4.3-canary.3
'@next/swc-linux-arm64-musl': 13.4.3-canary.3
'@next/swc-linux-x64-gnu': 13.4.3-canary.3
'@next/swc-linux-x64-musl': 13.4.3-canary.3
'@next/swc-win32-arm64-msvc': 13.4.3-canary.3
'@next/swc-win32-ia32-msvc': 13.4.3-canary.3
'@next/swc-win32-x64-msvc': 13.4.3-canary.3
'@next/swc-darwin-arm64': 13.4.5-canary.3
'@next/swc-darwin-x64': 13.4.5-canary.3
'@next/swc-linux-arm64-gnu': 13.4.5-canary.3
'@next/swc-linux-arm64-musl': 13.4.5-canary.3
'@next/swc-linux-x64-gnu': 13.4.5-canary.3
'@next/swc-linux-x64-musl': 13.4.5-canary.3
'@next/swc-win32-arm64-msvc': 13.4.5-canary.3
'@next/swc-win32-ia32-msvc': 13.4.5-canary.3
'@next/swc-win32-x64-msvc': 13.4.5-canary.3
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@ -5059,6 +5074,15 @@ packages:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
/swr@2.1.5(react@18.2.0):
resolution: {integrity: sha512-/OhfZMcEpuz77KavXST5q6XE9nrOBOVcBLWjMT+oAE/kQHyE3PASrevXCtQDZ8aamntOfFkbVJp7Il9tNBQWrw==}
peerDependencies:
react: ^16.11.0 || ^17.0.0 || ^18.0.0
dependencies:
react: 18.2.0
use-sync-external-store: 1.2.0(react@18.2.0)
dev: false
/synckit@0.8.5:
resolution: {integrity: sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==}
engines: {node: ^14.18.0 || >=16.0.0}
@ -5405,6 +5429,14 @@ packages:
tslib: 2.5.0
dev: false
/use-sync-external-store@1.2.0(react@18.2.0):
resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
dependencies:
react: 18.2.0
dev: false
/utf-8-validate@6.0.3:
resolution: {integrity: sha512-uIuGf9TWQ/y+0Lp+KGZCMuJWc3N9BHA+l/UmHd/oUHwJJDeysyTRxNQVkbzsIWfGFbRe3OcgML/i0mvVRPOyDA==}
engines: {node: '>=6.14.2'}