Connect, collaborate, and grow with a community of TypeScript developers
fix(auth): restore GitHub login on Next.js 16 by aligning next-auth + @auth/core (#1779)
bautistaaa7871629e9a77
diff --git a/apps/auth-proxy/package.json b/apps/auth-proxy/package.jsonindex b659b690..fd9da854 100644--- a/apps/auth-proxy/package.json+++ b/apps/auth-proxy/package.json@@ -13,7 +13,7 @@"typecheck": "tsc --noEmit"},"dependencies": {- "@auth/core": "^0.37.4"+ "@auth/core": "^0.41.3"},"devDependencies": {"@repo/lint": "workspace:*",diff --git a/package.json b/package.jsonindex 6f182fda..a92113e5 100644--- a/package.json+++ b/package.json@@ -49,7 +49,7 @@"packageManager": "[email protected]","pnpm": {"overrides": {- "@auth/core": "0.37.4",+ "@auth/core": "0.41.3","@typescript-eslint/eslint-plugin": "8.16.0","@typescript-eslint/parser": "8.16.0","@types/react": "19.2.17",diff --git a/packages/auth/package.json b/packages/auth/package.jsonindex 01b594ba..9087f02c 100644--- a/packages/auth/package.json+++ b/packages/auth/package.json@@ -31,7 +31,7 @@"dependencies": {"@auth/prisma-adapter": "^1.0.13","@repo/db": "workspace:*",- "next-auth": "5.0.0-beta.25"+ "next-auth": "5.0.0-beta.32"},"devDependencies": {"@repo/lint": "workspace:*",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex fba3a973..54f947de 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -5,7 +5,7 @@ settings:excludeLinksFromLockfile: falseoverrides:- '@auth/core': 0.37.4+ '@auth/core': 0.41.3'@typescript-eslint/eslint-plugin': 8.16.0'@typescript-eslint/parser': 8.16.0'@types/react': 19.2.17@@ -369,8 +369,8 @@ importers:apps/auth-proxy:dependencies:'@auth/core':- specifier: 0.37.4- version: 0.37.4+ specifier: 0.41.3+ version: 0.41.3devDependencies:'@repo/lint':specifier: workspace:*@@ -714,8 +714,8 @@ importers:specifier: workspace:*version: link:../dbnext-auth:- specifier: 5.0.0-beta.25- version: 5.0.0-beta.25([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ specifier: 5.0.0-beta.32+ version: 5.0.0-beta.32([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])devDependencies:'@repo/lint':specifier: workspace:*@@ -1192,12 +1192,12 @@ packages:'@apm-js-collab/[email protected]':resolution: {integrity: sha512-w2OWXR7FWrKqSziuE9+QclaZrStxO/8+OwbXM635s/zs0Eez1Qo3ivSPdB2WsaPY/iznKTytONPx/PitD7IXcA==}- '@auth/[email protected]':- resolution: {integrity: sha512-HOXJwXWXQRhbBDHlMU0K/6FT1v+wjtzdKhsNg0ZN7/gne6XPsIrjZ4daMcFnbq0Z/vsAbYBinQhhua0d77v7qw==}+ '@auth/[email protected]':+ resolution: {integrity: sha512-sJ3JMHHkXMD3aOjopv7mOBTO1Ocw4b0fAEXJBz6k7YHLpYQI6C40jCUPc5fNvUKxXRXNE1/sRISA15UrwWJBTw==}peerDependencies:'@simplewebauthn/browser': ^9.0.1'@simplewebauthn/server': ^9.0.2- nodemailer: ^6.8.0+ nodemailer: ^7.0.7 || ^8.0.5peerDependenciesMeta:'@simplewebauthn/browser':optional: true@@ -2660,6 +2660,7 @@ packages:'@octokit/[email protected]':resolution: {integrity: sha512-S8u2cJzklBC0FgTwWVLaM8tMrDuDMVE4xiTK4EYXM9GntyvrdbSoxqDQa+Fh57CCNApyIpyeqPhhFEmHPfrXgw==}+ deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.'@octokit/[email protected]':resolution: {integrity: sha512-BVwtWE3rRXB9IugmQTfKspqjNa8q+ab73ddkV9k1Zok3XbuOxJUi4lTYk5zBZDhfWb/Y2H+RO9Iggm25gsqeow==}@@ -5793,6 +5794,7 @@ packages:resolution: {integrity: sha512-p0SaNjrHOnQeR8/VnfGbmg9te2kfyYSQ7Sc/j/6DtPL3JQvKxmjO9TSjNFpujqV3vEYYBvNNvXSxzyksBWAx1Q==}engines: {node: '>=12.0.0'}+ deprecated: v4 is no longer maintained, upgrade to v5resolution: {integrity: sha512-onMB0OkDjkXunhdW9htFjEhqrD54+M94i6ackoUkjHKbRnXdyEyKRelp4nJ1kAz32+s27jP1FsebpJCVl0BsvA==}@@ -7747,8 +7749,8 @@ packages:resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==}- resolution: {integrity: sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg==}+ resolution: {integrity: sha512-iiW7J9qRFlGxvCOIBDBDxFePQSn7ZMAnrYGhrrOo6siO/MIqwfyilLR27pkfDgUk+raLuzADS8A3S/KLBisc0g==}resolution: {integrity: sha512-DpoddSkmPGXMFtdfnoIHfueFeGP643nqYUWC6REjUcME+PG2UkAtYnLbffRDw3OURI9ZUTcRWkRGLsOvxuWMCg==}@@ -8410,14 +8412,14 @@ packages:resolution: {integrity: sha512-+Uh1YkU5EjbvqqmolVy/N8RlejDg2zvSqnpbpdaTAkgpIXgeIhCkUep0SAWa2UCEIf1Mlz1XHWRmQJaSgIZbGw==}engines: {node: ^14.16.0 || >=16.0.0}- resolution: {integrity: sha512-2dJJw1sHQl2qxCrRk+KTQbeH+izFbGFPuJj5eGgBZFYyiYYtvlrBeUw1E/OJJxTRjuxbSYGnCTkUIRsIIW0bog==}+ resolution: {integrity: sha512-CGlChIEWZ6LltNVxrE5yiySMID+Idpmry47JYA5lLwgD8Sx02a8M65VL0TWVz9nbnOioS/tCW/rP/0+mE7Qp4Q==}peerDependencies:'@simplewebauthn/browser': ^9.0.1'@simplewebauthn/server': ^9.0.2- next: ^14.0.0-0 || ^15.0.0-0- nodemailer: ^6.6.5- react: ^18.2.0 || ^19.0.0-0+ next: ^14.0.0-0 || ^15.0.0 || ^16.0.0+ nodemailer: ^7.0.7 || ^8.0.5+ react: ^18.2.0 || ^19.0.0peerDependenciesMeta:'@simplewebauthn/browser':optional: true@@ -10967,17 +10969,17 @@ snapshots:transitivePeerDependencies:- supports-color- '@auth/[email protected]':+ '@auth/[email protected]':dependencies:'@panva/hkdf': 1.2.1- jose: 5.10.0+ jose: 6.2.10oauth4webapi: 3.5.0preact: 10.24.3preact-render-to-string: 6.5.11([email protected])dependencies:- '@auth/core': 0.37.4+ '@auth/core': 0.41.3'@prisma/client': 5.21.1([email protected])transitivePeerDependencies:- '@simplewebauthn/browser'@@ -17788,7 +17790,7 @@ snapshots:- [email protected]: {}+ [email protected]: {}optionalDependencies:@@ -18603,9 +18605,9 @@ snapshots:p-wait-for: 5.0.2qs: 6.14.0- [email protected]([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]):+ [email protected]([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected]):dependencies:- '@auth/core': 0.37.4+ '@auth/core': 0.41.3next: 16.2.10(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 19.2.7