Skip to content

Commit b211910

Browse files
committed
Fix Linkedin login
1 parent bd8a6a0 commit b211910

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"moment": "^2.30.1",
2222
"msw": "^2.6.5",
2323
"next": "^14.1.0",
24-
"next-auth": "^4.23.1",
24+
"next-auth": "4.24.11",
2525
"postcss": "8.4.28",
2626
"qr-scanner": "^1.4.2",
2727
"react": "18.2.0",

src/app/api/auth/[...nextauth]/authOptions.ts

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default {
1818
LinkedInProvider({
1919
clientId: process.env.LINKEDIN_CLIENT_ID as string,
2020
clientSecret: process.env.LINKEDIN_CLIENT_SECRET as string,
21+
issuer: "https://www.linkedin.com",
2122
}),
2223
{
2324
id: "microsoft",

yarn.lock

+13-13
Original file line numberDiff line numberDiff line change
@@ -998,12 +998,7 @@ [email protected]:
998998
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
999999
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
10001000

1001-
cookie@^0.5.0:
1002-
version "0.5.0"
1003-
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b"
1004-
integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==
1005-
1006-
cookie@^0.7.2:
1001+
cookie@^0.7.0, cookie@^0.7.2:
10071002
version "0.7.2"
10081003
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7"
10091004
integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==
@@ -2304,11 +2299,16 @@ jiti@^1.21.6:
23042299
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.7.tgz#9dd81043424a3d28458b193d965f0d18a2300ba9"
23052300
integrity sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==
23062301

2307-
jose@^4.11.4, jose@^4.14.4:
2302+
jose@^4.14.4:
23082303
version "4.14.4"
23092304
resolved "https://registry.yarnpkg.com/jose/-/jose-4.14.4.tgz#59e09204e2670c3164ee24cbfe7115c6f8bff9ca"
23102305
integrity sha512-j8GhLiKmUAh+dsFXlX1aJCbt5KMibuKb+d7j1JaOJG6s2UjX1PQlW+OKB/sD4a/5ZYF4RcmYmLSndOoU3Lt/3g==
23112306

2307+
jose@^4.15.5:
2308+
version "4.15.9"
2309+
resolved "https://registry.yarnpkg.com/jose/-/jose-4.15.9.tgz#9b68eda29e9a0614c042fa29387196c7dd800100"
2310+
integrity sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==
2311+
23122312
js-cookie@^2.2.1:
23132313
version "2.2.1"
23142314
resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-2.2.1.tgz#69e106dc5d5806894562902aa5baec3744e9b2b8"
@@ -2568,15 +2568,15 @@ natural-compare@^1.4.0:
25682568
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
25692569
integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
25702570

2571-
next-auth@^4.23.1:
2572-
version "4.23.1"
2573-
resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.23.1.tgz#7a82f5327cf4c7e32819da4eb977f2251a23c3cf"
2574-
integrity sha512-mL083z8KgRtlrIV6CDca2H1kduWJuK/3pTS0Fe2og15KOm4v2kkLGdSDfc2g+019aEBrJUT0pPW2Xx42ImN1WA==
2571+
next-auth@4.24.11:
2572+
version "4.24.11"
2573+
resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.24.11.tgz#16eeb76d37fbc8fe887561b454f8167f490c381f"
2574+
integrity sha512-pCFXzIDQX7xmHFs4KVH4luCjaCbuPRtZ9oBUjUhOk84mZ9WVPf94n87TxYI4rSRf9HmfHEF8Yep3JrYDVOo3Cw==
25752575
dependencies:
25762576
"@babel/runtime" "^7.20.13"
25772577
"@panva/hkdf" "^1.0.2"
2578-
cookie "^0.5.0"
2579-
jose "^4.11.4"
2578+
cookie "^0.7.0"
2579+
jose "^4.15.5"
25802580
oauth "^0.9.15"
25812581
openid-client "^5.4.0"
25822582
preact "^10.6.3"

0 commit comments

Comments
 (0)