Skip to content

Modern Docker Management, Designed for Everyone

feat: oidc login support (#172)

Kyle Mendell43609a85ca9c
diff --git a/.env.example b/.env.example
index 80c3da575..3516449fa 100644
--- a/.env.example
+++ b/.env.example
@@ -1,2 +1,12 @@
APP_ENV=production
-PUBLIC_SESSION_SECRET=your-secure-random-32-character-string-here
\ No newline at end of file
+PUBLIC_SESSION_SECRET=your-secure-random-32-character-string-here
+
+# OIDC Provider Settings
+PUBLIC_OIDC_ENABLED=false
+OIDC_CLIENT_ID="your_oidc_client_id"
+OIDC_CLIENT_SECRET="your_oidc_client_secret"
+OIDC_REDIRECT_URI="http://localhost:5173/auth/oidc/callback"
+OIDC_AUTHORIZATION_ENDPOINT="your_oidc_provider_authorization_endpoint_url"
+OIDC_TOKEN_ENDPOINT="your_oidc_provider_token_endpoint_url"
+OIDC_USERINFO_ENDPOINT="your_oidc_provider_userinfo_endpoint_url"
+OIDC_SCOPES="openid email profile" # Space separated list of scopes
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index 98867e603..ae12f795f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,6 +12,7 @@
"@codemirror/legacy-modes": "^6.5.1",
"@swimlane/docker-reference": "^2.0.1",
"@tanstack/table-core": "^8.21.3",
+ "arctic": "^3.6.1",
"axios": "^1.9.0",
"bcryptjs": "^3.0.2",
"codemirror": "^6.0.1",
@@ -205,9 +206,9 @@
}
},
"node_modules/@codemirror/view": {
- "version": "6.36.6",
- "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.36.6.tgz",
- "integrity": "sha512-uxugGLet+Nzp0Jcit8Hn3LypM8ioMLKTsdf8FRoT3HWvZtb9GhaWMe0Cc15rz90Ljab4YFJiAulmIVB74OY0IQ==",
+ "version": "6.36.8",
+ "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.36.8.tgz",
+ "integrity": "sha512-yoRo4f+FdnD01fFt4XpfpMCcCAo9QvZOtbrXExn4SqzH32YC6LgzqxfLZw/r6Ge65xyY03mK/UfUqrVw1gFiFg==",
"license": "MIT",
"dependencies": {
"@codemirror/state": "^6.5.0",
@@ -216,9 +217,9 @@
}
},
"node_modules/@esbuild/aix-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.3.tgz",
- "integrity": "sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.4.tgz",
+ "integrity": "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==",
"cpu": [
"ppc64"
],
@@ -233,9 +234,9 @@
}
},
"node_modules/@esbuild/android-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.3.tgz",
- "integrity": "sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.4.tgz",
+ "integrity": "sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==",
"cpu": [
"arm"
],
@@ -250,9 +251,9 @@
}
},
"node_modules/@esbuild/android-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.3.tgz",
- "integrity": "sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.4.tgz",
+ "integrity": "sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==",
"cpu": [
"arm64"
],
@@ -267,9 +268,9 @@
}
},
"node_modules/@esbuild/android-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.3.tgz",
- "integrity": "sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.4.tgz",
+ "integrity": "sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==",
"cpu": [
"x64"
],
@@ -284,9 +285,9 @@
}
},
"node_modules/@esbuild/darwin-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.3.tgz",
- "integrity": "sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.4.tgz",
+ "integrity": "sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==",
"cpu": [
"arm64"
],
@@ -301,9 +302,9 @@
}
},
"node_modules/@esbuild/darwin-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.3.tgz",
- "integrity": "sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.4.tgz",
+ "integrity": "sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==",
"cpu": [
"x64"
],
@@ -318,9 +319,9 @@
}
},
"node_modules/@esbuild/freebsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.3.tgz",
- "integrity": "sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==",
"cpu": [
"arm64"
],
@@ -335,9 +336,9 @@
}
},
"node_modules/@esbuild/freebsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.3.tgz",
- "integrity": "sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.4.tgz",
+ "integrity": "sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==",
"cpu": [
"x64"
],
@@ -352,9 +353,9 @@
}
},
"node_modules/@esbuild/linux-arm": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.3.tgz",
- "integrity": "sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.4.tgz",
+ "integrity": "sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==",
"cpu": [
"arm"
],
@@ -369,9 +370,9 @@
}
},
"node_modules/@esbuild/linux-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.3.tgz",
- "integrity": "sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.4.tgz",
+ "integrity": "sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==",
"cpu": [
"arm64"
],
@@ -386,9 +387,9 @@
}
},
"node_modules/@esbuild/linux-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.3.tgz",
- "integrity": "sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.4.tgz",
+ "integrity": "sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==",
"cpu": [
"ia32"
],
@@ -403,9 +404,9 @@
}
},
"node_modules/@esbuild/linux-loong64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.3.tgz",
- "integrity": "sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.4.tgz",
+ "integrity": "sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==",
"cpu": [
"loong64"
],
@@ -420,9 +421,9 @@
}
},
"node_modules/@esbuild/linux-mips64el": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.3.tgz",
- "integrity": "sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.4.tgz",
+ "integrity": "sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==",
"cpu": [
"mips64el"
],
@@ -437,9 +438,9 @@
}
},
"node_modules/@esbuild/linux-ppc64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.3.tgz",
- "integrity": "sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.4.tgz",
+ "integrity": "sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==",
"cpu": [
"ppc64"
],
@@ -454,9 +455,9 @@
}
},
"node_modules/@esbuild/linux-riscv64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.3.tgz",
- "integrity": "sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.4.tgz",
+ "integrity": "sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==",
"cpu": [
"riscv64"
],
@@ -471,9 +472,9 @@
}
},
"node_modules/@esbuild/linux-s390x": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.3.tgz",
- "integrity": "sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.4.tgz",
+ "integrity": "sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==",
"cpu": [
"s390x"
],
@@ -488,9 +489,9 @@
}
},
"node_modules/@esbuild/linux-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.3.tgz",
- "integrity": "sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.4.tgz",
+ "integrity": "sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==",
"cpu": [
"x64"
],
@@ -505,9 +506,9 @@
}
},
"node_modules/@esbuild/netbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-1QaLtOWq0mzK6tzzp0jRN3eccmN3hezey7mhLnzC6oNlJoUJz4nym5ZD7mDnS/LZQgkrhEbEiTn515lPeLpgWA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==",
"cpu": [
"arm64"
],
@@ -522,9 +523,9 @@
}
},
"node_modules/@esbuild/netbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.3.tgz",
- "integrity": "sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==",
"cpu": [
"x64"
],
@@ -539,9 +540,9 @@
}
},
"node_modules/@esbuild/openbsd-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.3.tgz",
- "integrity": "sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.4.tgz",
+ "integrity": "sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==",
"cpu": [
"arm64"
],
@@ -556,9 +557,9 @@
}
},
"node_modules/@esbuild/openbsd-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.3.tgz",
- "integrity": "sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.4.tgz",
+ "integrity": "sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==",
"cpu": [
"x64"
],
@@ -573,9 +574,9 @@
}
},
"node_modules/@esbuild/sunos-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.3.tgz",
- "integrity": "sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.4.tgz",
+ "integrity": "sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==",
"cpu": [
"x64"
],
@@ -590,9 +591,9 @@
}
},
"node_modules/@esbuild/win32-arm64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.3.tgz",
- "integrity": "sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.4.tgz",
+ "integrity": "sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==",
"cpu": [
"arm64"
],
@@ -607,9 +608,9 @@
}
},
"node_modules/@esbuild/win32-ia32": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.3.tgz",
- "integrity": "sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.4.tgz",
+ "integrity": "sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==",
"cpu": [
"ia32"
],
@@ -624,9 +625,9 @@
}
},
"node_modules/@esbuild/win32-x64": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz",
- "integrity": "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.4.tgz",
+ "integrity": "sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==",
"cpu": [
"x64"
],
@@ -818,9 +819,9 @@
"optional": true
},
"node_modules/@floating-ui/core": {
- "version": "1.6.9",
- "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz",
- "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==",
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.0.tgz",
+ "integrity": "sha512-FRdBLykrPPA6P76GGGqlex/e7fbe0F1ykgxHYNXQsH/iTEtjMj/f9bpY5oQqbjt5VgZvgz/uKXbGuROijh3VLA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -828,13 +829,13 @@
}
},
"node_modules/@floating-ui/dom": {
- "version": "1.6.13",
- "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz",
- "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==",
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.7.0.tgz",
+ "integrity": "sha512-lGTor4VlXcesUMh1cupTUTDoCxMb0V6bm3CnxHzQcw8Eaf1jQbgQX4i02fYgT0vJ82tb5MZ4CZk1LRGkktJCzg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@floating-ui/core": "^1.6.0",
+ "@floating-ui/core": "^1.7.0",
"@floating-ui/utils": "^0.2.9"
}
},
@@ -974,9 +975,9 @@
}
},
"node_modules/@humanwhocodes/retry": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz",
- "integrity": "sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==",
+ "version": "0.4.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",
+ "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",
"dev": true,
"license": "Apache-2.0",
"engines": {
@@ -1120,9 +1121,9 @@
"license": "MIT"
},
"node_modules/@modelcontextprotocol/sdk": {
- "version": "1.11.0",
- "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.11.0.tgz",
- "integrity": "sha512-k/1pb70eD638anoi0e8wUGAlbMJXyvdV4p62Ko+EZ7eBe1xMx8Uhak1R5DgfoofsK5IBBnRwsYGTaLZl+6/+RQ==",
+ "version": "1.11.2",
+ "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.11.2.tgz",
+ "integrity": "sha512-H9vwztj5OAqHg9GockCQC06k1natgcxWQSRpQcPJf6i5+MWBzfKkRtxGbjQf0X2ihii0ffLZCRGbYV2f2bjNCQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -1188,6 +1189,52 @@
"node": ">= 8"
}
},
+ "node_modules/@oslojs/asn1": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@oslojs/asn1/-/asn1-1.0.0.tgz",
+ "integrity": "sha512-zw/wn0sj0j0QKbIXfIlnEcTviaCzYOY3V5rAyjR6YtOByFtJiT574+8p9Wlach0lZH9fddD4yb9laEAIl4vXQA==",
+ "license": "MIT",
+ "dependencies": {
+ "@oslojs/binary": "1.0.0"
+ }
+ },
+ "node_modules/@oslojs/binary": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@oslojs/binary/-/binary-1.0.0.tgz",
+ "integrity": "sha512-9RCU6OwXU6p67H4NODbuxv2S3eenuQ4/WFLrsq+K/k682xrznH5EVWA7N4VFk9VYVcbFtKqur5YQQZc0ySGhsQ==",
+ "license": "MIT"
+ },
+ "node_modules/@oslojs/crypto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@oslojs/crypto/-/crypto-1.0.1.tgz",
+ "integrity": "sha512-7n08G8nWjAr/Yu3vu9zzrd0L9XnrJfpMioQcvCMxBIiF5orECHe5/3J0jmXRVvgfqMm/+4oxlQ+Sq39COYLcNQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@oslojs/asn1": "1.0.0",
+ "@oslojs/binary": "1.0.0"
+ }
+ },
+ "node_modules/@oslojs/encoding": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-1.1.0.tgz",
+ "integrity": "sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==",
+ "license": "MIT"
+ },
+ "node_modules/@oslojs/jwt": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/@oslojs/jwt/-/jwt-0.2.0.tgz",
+ "integrity": "sha512-bLE7BtHrURedCn4Mco3ma9L4Y1GR2SMBuIvjWr7rmQ4/W/4Jy70TIAgZ+0nIlk0xHz1vNP8x8DCns45Sb2XRbg==",
+ "license": "MIT",
+ "dependencies": {
+ "@oslojs/encoding": "0.4.1"
+ }
+ },
+ "node_modules/@oslojs/jwt/node_modules/@oslojs/encoding": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-0.4.1.tgz",
+ "integrity": "sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==",
+ "license": "MIT"
+ },
"node_modules/@playwright/test": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.52.0.tgz",
@@ -1383,9 +1430,9 @@
}
},
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.1.tgz",
- "integrity": "sha512-kxz0YeeCrRUHz3zyqvd7n+TVRlNyTifBsmnmNPtk3hQURUyG9eAB+usz6DAwagMusjx/zb3AjvDUvhFGDAexGw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.2.tgz",
+ "integrity": "sha512-JkdNEq+DFxZfUwxvB58tHMHBHVgX23ew41g1OQinthJ+ryhdRk67O31S7sYw8u2lTjHUPFxwar07BBt1KHp/hg==",
"cpu": [
"arm"
],
@@ -1397,9 +1444,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.1.tgz",
- "integrity": "sha512-PPkxTOisoNC6TpnDKatjKkjRMsdaWIhyuMkA4UsBXT9WEZY4uHezBTjs6Vl4PbqQQeu6oION1w2voYZv9yquCw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.2.tgz",
+ "integrity": "sha512-13unNoZ8NzUmnndhPTkWPWbX3vtHodYmy+I9kuLxN+F+l+x3LdVF7UCu8TWVMt1POHLh6oDHhnOA04n8oJZhBw==",
"cpu": [
"arm64"
],
@@ -1411,9 +1458,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.1.tgz",
- "integrity": "sha512-VWXGISWFY18v/0JyNUy4A46KCFCb9NVsH+1100XP31lud+TzlezBbz24CYzbnA4x6w4hx+NYCXDfnvDVO6lcAA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.2.tgz",
+ "integrity": "sha512-Gzf1Hn2Aoe8VZzevHostPX23U7N5+4D36WJNHK88NZHCJr7aVMG4fadqkIf72eqVPGjGc0HJHNuUaUcxiR+N/w==",
"cpu": [
"arm64"
],
@@ -1425,9 +1472,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.1.tgz",
- "integrity": "sha512-nIwkXafAI1/QCS7pxSpv/ZtFW6TXcNUEHAIA9EIyw5OzxJZQ1YDrX+CL6JAIQgZ33CInl1R6mHet9Y/UZTg2Bw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.2.tgz",
+ "integrity": "sha512-47N4hxa01a4x6XnJoskMKTS8XZ0CZMd8YTbINbi+w03A2w4j1RTlnGHOz/P0+Bg1LaVL6ufZyNprSg+fW5nYQQ==",
"cpu": [
"x64"
],
@@ -1439,9 +1486,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.1.tgz",
- "integrity": "sha512-BdrLJ2mHTrIYdaS2I99mriyJfGGenSaP+UwGi1kB9BLOCu9SR8ZpbkmmalKIALnRw24kM7qCN0IOm6L0S44iWw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.2.tgz",
+ "integrity": "sha512-8t6aL4MD+rXSHHZUR1z19+9OFJ2rl1wGKvckN47XFRVO+QL/dUSpKA2SLRo4vMg7ELA8pzGpC+W9OEd1Z/ZqoQ==",
"cpu": [
"arm64"
],
@@ -1453,9 +1500,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.1.tgz",
- "integrity": "sha512-VXeo/puqvCG8JBPNZXZf5Dqq7BzElNJzHRRw3vjBE27WujdzuOPecDPc/+1DcdcTptNBep3861jNq0mYkT8Z6Q==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.2.tgz",
+ "integrity": "sha512-C+AyHBzfpsOEYRFjztcYUFsH4S7UsE9cDtHCtma5BK8+ydOZYgMmWg1d/4KBytQspJCld8ZIujFMAdKG1xyr4Q==",
"cpu": [
"x64"
],
@@ -1467,9 +1514,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.1.tgz",
- "integrity": "sha512-ehSKrewwsESPt1TgSE/na9nIhWCosfGSFqv7vwEtjyAqZcvbGIg4JAcV7ZEh2tfj/IlfBeZjgOXm35iOOjadcg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.2.tgz",
+ "integrity": "sha512-de6TFZYIvJwRNjmW3+gaXiZ2DaWL5D5yGmSYzkdzjBDS3W+B9JQ48oZEsmMvemqjtAFzE16DIBLqd6IQQRuG9Q==",
"cpu": [
"arm"
],
@@ -1481,9 +1528,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.1.tgz",
- "integrity": "sha512-m39iO/aaurh5FVIu/F4/Zsl8xppd76S4qoID8E+dSRQvTyZTOI2gVk3T4oqzfq1PtcvOfAVlwLMK3KRQMaR8lg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.2.tgz",
+ "integrity": "sha512-urjaEZubdIkacKc930hUDOfQPysezKla/O9qV+O89enqsqUmQm8Xj8O/vh0gHg4LYfv7Y7UsE3QjzLQzDYN1qg==",
"cpu": [
"arm"
],
@@ -1495,9 +1542,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.1.tgz",
- "integrity": "sha512-Y+GHnGaku4aVLSgrT0uWe2o2Rq8te9hi+MwqGF9r9ORgXhmHK5Q71N757u0F8yU1OIwUIFy6YiJtKjtyktk5hg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.2.tgz",
+ "integrity": "sha512-KlE8IC0HFOC33taNt1zR8qNlBYHj31qGT1UqWqtvR/+NuCVhfufAq9fxO8BMFC22Wu0rxOwGVWxtCMvZVLmhQg==",
"cpu": [
"arm64"
],
@@ -1509,9 +1556,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.1.tgz",
- "integrity": "sha512-jEwjn3jCA+tQGswK3aEWcD09/7M5wGwc6+flhva7dsQNRZZTe30vkalgIzV4tjkopsTS9Jd7Y1Bsj6a4lzz8gQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.2.tgz",
+ "integrity": "sha512-j8CgxvfM0kbnhu4XgjnCWJQyyBOeBI1Zq91Z850aUddUmPeQvuAy6OiMdPS46gNFgy8gN1xkYyLgwLYZG3rBOg==",
"cpu": [
"arm64"
],
@@ -1523,9 +1570,9 @@
]
},
"node_modules/@rollup/rollup-linux-loongarch64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.1.tgz",
- "integrity": "sha512-ySyWikVhNzv+BV/IDCsrraOAZ3UaC8SZB67FZlqVwXwnFhPihOso9rPOxzZbjp81suB1O2Topw+6Ug3JNegejQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.2.tgz",
+ "integrity": "sha512-Ybc/1qUampKuRF4tQXc7G7QY9YRyeVSykfK36Y5Qc5dmrIxwFhrOzqaVTNoZygqZ1ZieSWTibfFhQ5qK8jpWxw==",
"cpu": [
"loong64"
],
@@ -1537,9 +1584,9 @@
]
},
"node_modules/@rollup/rollup-linux-powerpc64le-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.1.tgz",
- "integrity": "sha512-BvvA64QxZlh7WZWqDPPdt0GH4bznuL6uOO1pmgPnnv86rpUpc8ZxgZwcEgXvo02GRIZX1hQ0j0pAnhwkhwPqWg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.2.tgz",
+ "integrity": "sha512-3FCIrnrt03CCsZqSYAOW/k9n625pjpuMzVfeI+ZBUSDT3MVIFDSPfSUgIl9FqUftxcUXInvFah79hE1c9abD+Q==",
"cpu": [
"ppc64"
],
@@ -1551,9 +1598,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.1.tgz",
- "integrity": "sha512-EQSP+8+1VuSulm9RKSMKitTav89fKbHymTf25n5+Yr6gAPZxYWpj3DzAsQqoaHAk9YX2lwEyAf9S4W8F4l3VBQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.2.tgz",
+ "integrity": "sha512-QNU7BFHEvHMp2ESSY3SozIkBPaPBDTsfVNGx3Xhv+TdvWXFGOSH2NJvhD1zKAT6AyuuErJgbdvaJhYVhVqrWTg==",
"cpu": [
"riscv64"
],
@@ -1565,9 +1612,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.1.tgz",
- "integrity": "sha512-n/vQ4xRZXKuIpqukkMXZt9RWdl+2zgGNx7Uda8NtmLJ06NL8jiHxUawbwC+hdSq1rrw/9CghCpEONor+l1e2gA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.2.tgz",
+ "integrity": "sha512-5W6vNYkhgfh7URiXTO1E9a0cy4fSgfE4+Hl5agb/U1sa0kjOLMLC1wObxwKxecE17j0URxuTrYZZME4/VH57Hg==",
"cpu": [
"riscv64"
],
@@ -1579,9 +1626,9 @@
]
},
"node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.1.tgz",
- "integrity": "sha512-h8d28xzYb98fMQKUz0w2fMc1XuGzLLjdyxVIbhbil4ELfk5/orZlSTpF/xdI9C8K0I8lCkq+1En2RJsawZekkg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.2.tgz",
+ "integrity": "sha512-B7LKIz+0+p348JoAL4X/YxGx9zOx3sR+o6Hj15Y3aaApNfAshK8+mWZEf759DXfRLeL2vg5LYJBB7DdcleYCoQ==",
"cpu": [
"s390x"
],
@@ -1593,9 +1640,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.1.tgz",
- "integrity": "sha512-XiK5z70PEFEFqcNj3/zRSz/qX4bp4QIraTy9QjwJAb/Z8GM7kVUsD0Uk8maIPeTyPCP03ChdI+VVmJriKYbRHQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.2.tgz",
+ "integrity": "sha512-lG7Xa+BmBNwpjmVUbmyKxdQJ3Q6whHjMjzQplOs5Z+Gj7mxPtWakGHqzMqNER68G67kmCX9qX57aRsW5V0VOng==",
"cpu": [
"x64"
],
@@ -1607,9 +1654,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.1.tgz",
- "integrity": "sha512-2BRORitq5rQ4Da9blVovzNCMaUlyKrzMSvkVR0D4qPuOy/+pMCrh1d7o01RATwVy+6Fa1WBw+da7QPeLWU/1mQ==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.2.tgz",
+ "integrity": "sha512-tD46wKHd+KJvsmije4bUskNuvWKFcTOIM9tZ/RrmIvcXnbi0YK/cKS9FzFtAm7Oxi2EhV5N2OpfFB348vSQRXA==",
"cpu": [
"x64"
],
@@ -1621,9 +1668,9 @@
]
},
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.1.tgz",
- "integrity": "sha512-b2bcNm9Kbde03H+q+Jjw9tSfhYkzrDUf2d5MAd1bOJuVplXvFhWz7tRtWvD8/ORZi7qSCy0idW6tf2HgxSXQSg==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.2.tgz",
+ "integrity": "sha512-Bjv/HG8RRWLNkXwQQemdsWw4Mg+IJ29LK+bJPW2SCzPKOUaMmPEppQlu/Fqk1d7+DX3V7JbFdbkh/NMmurT6Pg==",
"cpu": [
"arm64"
],
@@ -1635,9 +1682,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.1.tgz",
- "integrity": "sha512-DfcogW8N7Zg7llVEfpqWMZcaErKfsj9VvmfSyRjCyo4BI3wPEfrzTtJkZG6gKP/Z92wFm6rz2aDO7/JfiR/whA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.2.tgz",
+ "integrity": "sha512-dt1llVSGEsGKvzeIO76HToiYPNPYPkmjhMHhP00T9S4rDern8P2ZWvWAQUEJ+R1UdMWJ/42i/QqJ2WV765GZcA==",
"cpu": [
"ia32"
],
@@ -1649,9 +1696,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.1.tgz",
- "integrity": "sha512-ECyOuDeH3C1I8jH2MK1RtBJW+YPMvSfT0a5NN0nHfQYnDSJ6tUiZH3gzwVP5/Kfh/+Tt7tpWVF9LXNTnhTJ3kA==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.2.tgz",
+ "integrity": "sha512-bwspbWB04XJpeElvsp+DCylKfF4trJDa2Y9Go8O6A7YLX2LIKGcNK/CYImJN6ZP4DcuOHB4Utl3iCbnR62DudA==",
"cpu": [
"x64"
],
@@ -1731,17 +1778,18 @@
}
},
"node_modules/@sveltejs/kit": {
- "version": "2.20.8",
- "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.20.8.tgz",
- "integrity": "sha512-ep9qTxL7WALhfm0kFecL3VHeuNew8IccbYGqv5TqL/KSqWRKzEgDG8blNlIu1CkLTTua/kHjI+f5T8eCmWIxKw==",
+ "version": "2.21.0",
+ "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.21.0.tgz",
+ "integrity": "sha512-kvu4h9qXduiPk1Q1oqFKDLFGu/7mslEYbVaqpbBcBxjlRJnvNCFwEvEwKt0Mx9TtSi8J77xRelvJobrGlst4nQ==",
"dev": true,
"license": "MIT",
"dependencies": {
+ "@sveltejs/acorn-typescript": "^1.0.5",
"@types/cookie": "^0.6.0",
+ "acorn": "^8.14.1",
"cookie": "^0.6.0",
"devalue": "^5.1.0",
"esm-env": "^1.2.2",
- "import-meta-resolve": "^4.1.0",
"kleur": "^4.1.5",
"magic-string": "^0.30.5",
"mrmime": "^2.0.0",
@@ -2045,66 +2093,6 @@
"node": ">=14.0.0"
}
},
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": {
- "version": "1.4.3",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/wasi-threads": "1.0.2",
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": {
- "version": "1.4.3",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": {
- "version": "1.0.2",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": {
- "version": "0.2.9",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "@emnapi/core": "^1.4.0",
- "@emnapi/runtime": "^1.4.0",
- "@tybys/wasm-util": "^0.9.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": {
- "version": "0.9.0",
- "dev": true,
- "inBundle": true,
- "license": "MIT",
- "optional": true,
- "dependencies": {
- "tslib": "^2.4.0"
- }
- },
- "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": {
- "version": "2.8.0",
- "dev": true,
- "inBundle": true,
- "license": "0BSD",
- "optional": true
- },
"node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
"version": "4.1.6",
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.1.6.tgz",
@@ -2239,9 +2227,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "22.15.3",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz",
- "integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==",
+ "version": "22.15.17",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.17.tgz",
+ "integrity": "sha512-wIX2aSZL5FE+MR0JlvF87BNVrtFWf6AE6rxSE9X7OwnVvoyCQjpzSRJ+M87se/4QCkCiebQAqrJ0y6fwIyi7nw==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
@@ -2282,9 +2270,9 @@
}
},
"node_modules/@types/ssh2/node_modules/@types/node": {
- "version": "18.19.87",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.87.tgz",
- "integrity": "sha512-OIAAu6ypnVZHmsHCeJ+7CCSub38QNBS9uceMQeg7K5Ur0Jr+wG9wEOEvvMbhp09pxD5czIUy/jND7s7Tb6Nw7A==",
+ "version": "18.19.100",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.100.tgz",
+ "integrity": "sha512-ojmMP8SZBKprc3qGrGk8Ujpo80AXkrP7G2tOT4VWr5jlr5DHjsJF+emXJz+Wm0glmy4Js62oKMdZZ6B9Y+tEcA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -2342,19 +2330,19 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.32.0.tgz",
- "integrity": "sha512-/jU9ettcntkBFmWUzzGgsClEi2ZFiikMX5eEQsmxIAWMOn4H3D4rvHssstmAHGVvrYnaMqdWWWg0b5M6IN/MTQ==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.32.1.tgz",
+ "integrity": "sha512-6u6Plg9nP/J1GRpe/vcjjabo6Uc5YQPAMxsgQyGC/I0RuukiG1wIe3+Vtg3IrSCVJDmqK3j8adrtzXSENRtFgg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.32.0",
- "@typescript-eslint/type-utils": "8.32.0",
- "@typescript-eslint/utils": "8.32.0",
- "@typescript-eslint/visitor-keys": "8.32.0",
+ "@typescript-eslint/scope-manager": "8.32.1",
+ "@typescript-eslint/type-utils": "8.32.1",
+ "@typescript-eslint/utils": "8.32.1",
+ "@typescript-eslint/visitor-keys": "8.32.1",
"graphemer": "^1.4.0",
- "ignore": "^5.3.1",
+ "ignore": "^7.0.0",
"natural-compare": "^1.4.0",
"ts-api-utils": "^2.1.0"
},
@@ -2371,17 +2359,27 @@
"typescript": ">=4.8.4 <5.9.0"
}
},
+ "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.4.tgz",
+ "integrity": "sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">= 4"
+ }
+ },
"node_modules/@typescript-eslint/parser": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.32.0.tgz",
- "integrity": "sha512-B2MdzyWxCE2+SqiZHAjPphft+/2x2FlO9YBx7eKE1BCb+rqBlQdhtAEhzIEdozHd55DXPmxBdpMygFJjfjjA9A==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.32.1.tgz",
+ "integrity": "sha512-LKMrmwCPoLhM45Z00O1ulb6jwyVr2kr3XJp+G+tSEZcbauNnScewcQwtJqXDhXeYPDEjZ8C1SjXm015CirEmGg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.32.0",
- "@typescript-eslint/types": "8.32.0",
- "@typescript-eslint/typescript-estree": "8.32.0",
- "@typescript-eslint/visitor-keys": "8.32.0",
+ "@typescript-eslint/scope-manager": "8.32.1",
+ "@typescript-eslint/types": "8.32.1",
+ "@typescript-eslint/typescript-estree": "8.32.1",
+ "@typescript-eslint/visitor-keys": "8.32.1",
"debug": "^4.3.4"
},
"engines": {
@@ -2397,14 +2395,14 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.32.0.tgz",
- "integrity": "sha512-jc/4IxGNedXkmG4mx4nJTILb6TMjL66D41vyeaPWvDUmeYQzF3lKtN15WsAeTr65ce4mPxwopPSo1yUUAWw0hQ==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.32.1.tgz",
+ "integrity": "sha512-7IsIaIDeZn7kffk7qXC3o6Z4UblZJKV3UBpkvRNpr5NSyLji7tvTcvmnMNYuYLyh26mN8W723xpo3i4MlD33vA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.32.0",
- "@typescript-eslint/visitor-keys": "8.32.0"
+ "@typescript-eslint/types": "8.32.1",
+ "@typescript-eslint/visitor-keys": "8.32.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -2415,14 +2413,14 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.32.0.tgz",
- "integrity": "sha512-t2vouuYQKEKSLtJaa5bB4jHeha2HJczQ6E5IXPDPgIty9EqcJxpr1QHQ86YyIPwDwxvUmLfP2YADQ5ZY4qddZg==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.32.1.tgz",
+ "integrity": "sha512-mv9YpQGA8iIsl5KyUPi+FGLm7+bA4fgXaeRcFKRDRwDMu4iwrSHeDPipwueNXhdIIZltwCJv+NkxftECbIZWfA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/typescript-estree": "8.32.0",
- "@typescript-eslint/utils": "8.32.0",
+ "@typescript-eslint/typescript-estree": "8.32.1",
+ "@typescript-eslint/utils": "8.32.1",
"debug": "^4.3.4",
"ts-api-utils": "^2.1.0"
},
@@ -2439,9 +2437,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.32.0.tgz",
- "integrity": "sha512-O5Id6tGadAZEMThM6L9HmVf5hQUXNSxLVKeGJYWNhhVseps/0LddMkp7//VDkzwJ69lPL0UmZdcZwggj9akJaA==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.32.1.tgz",
+ "integrity": "sha512-YmybwXUJcgGqgAp6bEsgpPXEg6dcCyPyCSr0CAAueacR/CCBi25G3V8gGQ2kRzQRBNol7VQknxMs9HvVa9Rvfg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -2453,14 +2451,14 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.32.0.tgz",
- "integrity": "sha512-pU9VD7anSCOIoBFnhTGfOzlVFQIA1XXiQpH/CezqOBaDppRwTglJzCC6fUQGpfwey4T183NKhF1/mfatYmjRqQ==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.32.1.tgz",
+ "integrity": "sha512-Y3AP9EIfYwBb4kWGb+simvPaqQoT5oJuzzj9m0i6FCY6SPvlomY2Ei4UEMm7+FXtlNJbor80ximyslzaQF6xhg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.32.0",
- "@typescript-eslint/visitor-keys": "8.32.0",
+ "@typescript-eslint/types": "8.32.1",
+ "@typescript-eslint/visitor-keys": "8.32.1",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
@@ -2506,16 +2504,16 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.32.0.tgz",
- "integrity": "sha512-8S9hXau6nQ/sYVtC3D6ISIDoJzS1NsCK+gluVhLN2YkBPX+/1wkwyUiDKnxRh15579WoOIyVWnoyIf3yGI9REw==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.32.1.tgz",
+ "integrity": "sha512-DsSFNIgLSrc89gpq1LJB7Hm1YpuhK086DRDJSNrewcGvYloWW1vZLHBTIvarKZDcAORIy/uWNx8Gad+4oMpkSA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.7.0",
- "@typescript-eslint/scope-manager": "8.32.0",
- "@typescript-eslint/types": "8.32.0",
- "@typescript-eslint/typescript-estree": "8.32.0"
+ "@typescript-eslint/scope-manager": "8.32.1",
+ "@typescript-eslint/types": "8.32.1",
+ "@typescript-eslint/typescript-estree": "8.32.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -2530,13 +2528,13 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.32.0.tgz",
- "integrity": "sha512-1rYQTCLFFzOI5Nl0c8LUpJT8HxpwVRn9E4CkMsYfuN6ctmQqExjSTzzSk0Tz2apmXy7WU6/6fyaZVVA/thPN+w==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.32.1.tgz",
+ "integrity": "sha512-ar0tjQfObzhSaW3C3QNmTc5ofj0hDoNQ5XWrCy6zDyabdr0TWhCkClp+rywGNj/odAFBVzzJrK4tEq5M4Hmu4w==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.32.0",
+ "@typescript-eslint/types": "8.32.1",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
@@ -2593,29 +2591,6 @@
"node": ">= 0.6"
}
},
- "node_modules/accepts/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/accepts/node_modules/mime-types": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
- "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/acorn": {
"version": "8.14.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz",
@@ -2679,6 +2654,17 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
+ "node_modules/arctic": {
+ "version": "3.6.1",
+ "resolved": "https://registry.npmjs.org/arctic/-/arctic-3.6.1.tgz",
+ "integrity": "sha512-zM3a1Y+HAhdXF3MFtNnesyI4X4f0yW7SsNGVeR1gYyZ6TSqH1346GUMU4dNDplTEoxWOxEjl7wrhXgkNTqUacw==",
+ "license": "MIT",
+ "dependencies": {
+ "@oslojs/crypto": "1.0.1",
+ "@oslojs/encoding": "1.1.0",
+ "@oslojs/jwt": "0.2.0"
+ }
+ },
"node_modules/argparse": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
@@ -3007,21 +2993,25 @@
}
},
"node_modules/chownr": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
- "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
- "license": "ISC"
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
+ "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
+ "dev": true,
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=18"
+ }
},
"node_modules/class-validator": {
- "version": "0.14.1",
- "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.14.1.tgz",
- "integrity": "sha512-2VEG9JICxIqTpoK1eMzZqaV+u/EiwEJkMGzTrZf6sU/fwsnOITVgYJ8yojSy6CaXtO9V0Cc6ZQZ8h8m4UBuLwQ==",
+ "version": "0.14.2",
+ "resolved": "https://registry.npmjs.org/class-validator/-/class-validator-0.14.2.tgz",
+ "integrity": "sha512-3kMVRF2io8N8pY1IFIXlho9r8IPUUIfHe2hYVtiebvAzU2XeQFXTv+XI4WX+TnXmtwXMDcjngcpkiPM0O9PvLw==",
"dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
"@types/validator": "^13.11.8",
- "libphonenumber-js": "^1.10.53",
+ "libphonenumber-js": "^1.11.1",
"validator": "^13.9.0"
}
},
@@ -3364,9 +3354,9 @@
"license": "MIT"
},
"node_modules/effect": {
- "version": "3.14.18",
- "resolved": "https://registry.npmjs.org/effect/-/effect-3.14.18.tgz",
- "integrity": "sha512-hqXZGfps5lQzoVq14X0uajOx5SKiEvDn40lFVGjHs7+SpdnL39xUZo3NZ96Gs8uVz2nFxBYPCfQA0rOaW+5uQA==",
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/effect/-/effect-3.15.0.tgz",
+ "integrity": "sha512-l8eJAz1DVEUg2zgmLR9JGYRc1YrKcf/UziC41pIxUHfMgNKMt/Qg8ENhFvbyc9m6Nhrr/Zkg9XtvU7024KU32A==",
"dev": true,
"license": "MIT",
"optional": true,
@@ -3460,9 +3450,9 @@
}
},
"node_modules/esbuild": {
- "version": "0.25.3",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.3.tgz",
- "integrity": "sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.4.tgz",
+ "integrity": "sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -3473,31 +3463,31 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.25.3",
- "@esbuild/android-arm": "0.25.3",
- "@esbuild/android-arm64": "0.25.3",
- "@esbuild/android-x64": "0.25.3",
- "@esbuild/darwin-arm64": "0.25.3",
- "@esbuild/darwin-x64": "0.25.3",
- "@esbuild/freebsd-arm64": "0.25.3",
- "@esbuild/freebsd-x64": "0.25.3",
- "@esbuild/linux-arm": "0.25.3",
- "@esbuild/linux-arm64": "0.25.3",
- "@esbuild/linux-ia32": "0.25.3",
- "@esbuild/linux-loong64": "0.25.3",
- "@esbuild/linux-mips64el": "0.25.3",
- "@esbuild/linux-ppc64": "0.25.3",
- "@esbuild/linux-riscv64": "0.25.3",
- "@esbuild/linux-s390x": "0.25.3",
- "@esbuild/linux-x64": "0.25.3",
- "@esbuild/netbsd-arm64": "0.25.3",
- "@esbuild/netbsd-x64": "0.25.3",
- "@esbuild/openbsd-arm64": "0.25.3",
- "@esbuild/openbsd-x64": "0.25.3",
- "@esbuild/sunos-x64": "0.25.3",
- "@esbuild/win32-arm64": "0.25.3",
- "@esbuild/win32-ia32": "0.25.3",
- "@esbuild/win32-x64": "0.25.3"
+ "@esbuild/aix-ppc64": "0.25.4",
+ "@esbuild/android-arm": "0.25.4",
+ "@esbuild/android-arm64": "0.25.4",
+ "@esbuild/android-x64": "0.25.4",
+ "@esbuild/darwin-arm64": "0.25.4",
+ "@esbuild/darwin-x64": "0.25.4",
+ "@esbuild/freebsd-arm64": "0.25.4",
+ "@esbuild/freebsd-x64": "0.25.4",
+ "@esbuild/linux-arm": "0.25.4",
+ "@esbuild/linux-arm64": "0.25.4",
+ "@esbuild/linux-ia32": "0.25.4",
+ "@esbuild/linux-loong64": "0.25.4",
+ "@esbuild/linux-mips64el": "0.25.4",
+ "@esbuild/linux-ppc64": "0.25.4",
+ "@esbuild/linux-riscv64": "0.25.4",
+ "@esbuild/linux-s390x": "0.25.4",
+ "@esbuild/linux-x64": "0.25.4",
+ "@esbuild/netbsd-arm64": "0.25.4",
+ "@esbuild/netbsd-x64": "0.25.4",
+ "@esbuild/openbsd-arm64": "0.25.4",
+ "@esbuild/openbsd-x64": "0.25.4",
+ "@esbuild/sunos-x64": "0.25.4",
+ "@esbuild/win32-arm64": "0.25.4",
+ "@esbuild/win32-ia32": "0.25.4",
+ "@esbuild/win32-x64": "0.25.4"
}
},
"node_modules/esbuild-runner": {
@@ -3619,16 +3609,16 @@
}
},
"node_modules/eslint-plugin-svelte": {
- "version": "3.5.1",
- "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.5.1.tgz",
- "integrity": "sha512-Qn1slddZHfqYiDO6IN8/iN3YL+VuHlgYjm30FT+hh0Jf/TX0jeZMTJXQMajFm5f6f6hURi+XO8P+NPYD+T4jkg==",
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-3.6.0.tgz",
+ "integrity": "sha512-IIf6Cj6yQuCwL7Qd8bX13BZspz+DQsOkClozMF9EkW20FSxI75Ndd5ZzbviCn32DdXRo9FUWXn+YMIL46qPOOg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.1",
"@jridgewell/sourcemap-codec": "^1.5.0",
"esutils": "^2.0.3",
- "known-css-properties": "^0.35.0",
+ "known-css-properties": "^0.36.0",
"postcss": "^8.4.49",
"postcss-load-config": "^3.1.4",
"postcss-safe-parser": "^7.0.0",
@@ -3778,9 +3768,9 @@
}
},
"node_modules/eventsource": {
- "version": "3.0.6",
- "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.6.tgz",
- "integrity": "sha512-l19WpE2m9hSuyP06+FbuUUf1G+R0SFLrtQfbRb9PRr+oimOfxQhgGCbVaXg5IvZyyTThJsxh6L/srkMiCeBPDA==",
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.7.tgz",
+ "integrity": "sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -3869,29 +3859,6 @@
"node": ">= 0.6"
}
},
- "node_modules/express/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/express/node_modules/mime-types": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
- "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/fast-check": {
"version": "3.23.2",
"resolved": "https://registry.npmjs.org/fast-check/-/fast-check-3.23.2.tgz",
@@ -4109,6 +4076,27 @@
"node": ">= 6"
}
},
+ "node_modules/form-data/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/form-data/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/formsnap": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/formsnap/-/formsnap-2.0.1.tgz",
@@ -4177,9 +4165,9 @@
"license": "MIT"
},
"node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"dev": true,
"hasInstallScript": true,
"license": "MIT",
@@ -4423,17 +4411,6 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
- "node_modules/import-meta-resolve": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz",
- "integrity": "sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==",
- "dev": true,
- "license": "MIT",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
"node_modules/imurmurhash": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
@@ -4650,9 +4627,9 @@
}
},
"node_modules/known-css-properties": {
- "version": "0.35.0",
- "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.35.0.tgz",
- "integrity": "sha512-a/RAk2BfKk+WFGhhOCAYqSiFLc34k8Mt/6NWRI4joER0EYUzXIcFivjjnoD3+XU1DggLn/tZc3DOAgke7l8a4A==",
+ "version": "0.36.0",
+ "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.36.0.tgz",
+ "integrity": "sha512-A+9jP+IUmuQsNdsLdcg6Yt7voiMF/D4K83ew0OpJtpu+l34ef7LaohWV0Rc6KNvzw6ZDizkqfyB5JznZnzuKQA==",
"dev": true,
"license": "MIT"
},
@@ -4671,9 +4648,9 @@
}
},
"node_modules/libphonenumber-js": {
- "version": "1.12.7",
- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.7.tgz",
- "integrity": "sha512-0nYZSNj/QEikyhcM5RZFXGlCB/mr4PVamnT1C2sKBnDDTYndrvbybYjvg+PMqAndQHlLbwQ3socolnL3WWTUFA==",
+ "version": "1.12.8",
+ "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.8.tgz",
+ "integrity": "sha512-f1KakiQJa9tdc7w1phC2ST+DyxWimy9c3g3yeF+84QtEanJr2K77wAmBPP22riU05xldniHsvXuflnLZ4oysqA==",
"dev": true,
"license": "MIT",
"optional": true
@@ -5054,21 +5031,23 @@
}
},
"node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
+ "dev": true,
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
+ "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
+ "dev": true,
"license": "MIT",
"dependencies": {
- "mime-db": "1.52.0"
+ "mime-db": "^1.54.0"
},
"engines": {
"node": ">= 0.6"
@@ -5461,21 +5440,6 @@
"node": ">=18"
}
},
- "node_modules/playwright/node_modules/fsevents": {
- "version": "2.3.2",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
- "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "dev": true,
- "hasInstallScript": true,
- "license": "MIT",
- "optional": true,
- "os": [
- "darwin"
- ],
- "engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
- }
- },
"node_modules/postcss": {
"version": "8.5.3",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz",
@@ -5687,9 +5651,9 @@
"optional": true
},
"node_modules/protobufjs": {
- "version": "7.5.0",
- "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.0.tgz",
- "integrity": "sha512-Z2E/kOY1QjoMlCytmexzYfDm/w5fKAiRwpSzGtdnXW1zC88Z2yXazHHrOtwCzn+7wSxyE8PYM4rvVcMphF9sOA==",
+ "version": "7.5.1",
+ "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.1.tgz",
+ "integrity": "sha512-3qx3IRjR9WPQKagdwrKjO3Gu8RgQR2qqw+1KnigWhoVjFqegIj1K3bP11sGqhxrO46/XL7lekuG4jmjL+4cLsw==",
"hasInstallScript": true,
"license": "BSD-3-Clause",
"dependencies": {
@@ -5920,9 +5884,9 @@
}
},
"node_modules/rollup": {
- "version": "4.40.1",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.1.tgz",
- "integrity": "sha512-C5VvvgCCyfyotVITIAv+4efVytl5F7wt+/I2i9q9GZcEXW9BP52YYOXC58igUi+LFZVHukErIIqQSWwv/M3WRw==",
+ "version": "4.40.2",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.2.tgz",
+ "integrity": "sha512-tfUOg6DTP4rhQ3VjOO6B4wyrJnGOX85requAXvqYTHsOgb2TFJdZ3aWpT8W2kPoypSGP7dZUyzxJ9ee4buM5Fg==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5936,26 +5900,26 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.40.1",
- "@rollup/rollup-android-arm64": "4.40.1",
- "@rollup/rollup-darwin-arm64": "4.40.1",
- "@rollup/rollup-darwin-x64": "4.40.1",
- "@rollup/rollup-freebsd-arm64": "4.40.1",
- "@rollup/rollup-freebsd-x64": "4.40.1",
- "@rollup/rollup-linux-arm-gnueabihf": "4.40.1",
- "@rollup/rollup-linux-arm-musleabihf": "4.40.1",
- "@rollup/rollup-linux-arm64-gnu": "4.40.1",
- "@rollup/rollup-linux-arm64-musl": "4.40.1",
- "@rollup/rollup-linux-loongarch64-gnu": "4.40.1",
- "@rollup/rollup-linux-powerpc64le-gnu": "4.40.1",
- "@rollup/rollup-linux-riscv64-gnu": "4.40.1",
- "@rollup/rollup-linux-riscv64-musl": "4.40.1",
- "@rollup/rollup-linux-s390x-gnu": "4.40.1",
- "@rollup/rollup-linux-x64-gnu": "4.40.1",
- "@rollup/rollup-linux-x64-musl": "4.40.1",
- "@rollup/rollup-win32-arm64-msvc": "4.40.1",
- "@rollup/rollup-win32-ia32-msvc": "4.40.1",
- "@rollup/rollup-win32-x64-msvc": "4.40.1",
+ "@rollup/rollup-android-arm-eabi": "4.40.2",
+ "@rollup/rollup-android-arm64": "4.40.2",
+ "@rollup/rollup-darwin-arm64": "4.40.2",
+ "@rollup/rollup-darwin-x64": "4.40.2",
+ "@rollup/rollup-freebsd-arm64": "4.40.2",
+ "@rollup/rollup-freebsd-x64": "4.40.2",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.40.2",
+ "@rollup/rollup-linux-arm-musleabihf": "4.40.2",
+ "@rollup/rollup-linux-arm64-gnu": "4.40.2",
+ "@rollup/rollup-linux-arm64-musl": "4.40.2",
+ "@rollup/rollup-linux-loongarch64-gnu": "4.40.2",
+ "@rollup/rollup-linux-powerpc64le-gnu": "4.40.2",
+ "@rollup/rollup-linux-riscv64-gnu": "4.40.2",
+ "@rollup/rollup-linux-riscv64-musl": "4.40.2",
+ "@rollup/rollup-linux-s390x-gnu": "4.40.2",
+ "@rollup/rollup-linux-x64-gnu": "4.40.2",
+ "@rollup/rollup-linux-x64-musl": "4.40.2",
+ "@rollup/rollup-win32-arm64-msvc": "4.40.2",
+ "@rollup/rollup-win32-ia32-msvc": "4.40.2",
+ "@rollup/rollup-win32-x64-msvc": "4.40.2",
"fsevents": "~2.3.2"
}
},
@@ -6056,9 +6020,9 @@
"license": "MIT"
},
"node_modules/semver": {
- "version": "7.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",
- "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==",
+ "version": "7.7.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz",
+ "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
"dev": true,
"license": "ISC",
"bin": {
@@ -6091,29 +6055,6 @@
"node": ">= 18"
}
},
- "node_modules/send/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/send/node_modules/mime-types": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
- "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/serve-static": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",
@@ -6441,9 +6382,9 @@
}
},
"node_modules/svelte": {
- "version": "5.28.2",
- "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.2.tgz",
- "integrity": "sha512-FbWBxgWOpQfhKvoGJv/TFwzqb4EhJbwCD17dB0tEpQiw1XyUEKZJtgm4nA4xq3LLsMo7hu5UY/BOFmroAxKTMg==",
+ "version": "5.28.6",
+ "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.28.6.tgz",
+ "integrity": "sha512-9qqr7mw8YR9PAnxGFfzCK6PUlNGtns7wVavrhnxyf3fpB1mP/Ol55Z2UnIapsSzNNl3k9qw7cZ22PdE8+xT/jQ==",
"license": "MIT",
"dependencies": {
"@ampproject/remapping": "^2.3.0",
@@ -6538,15 +6479,35 @@
}
},
"node_modules/svelte-sonner": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/svelte-sonner/-/svelte-sonner-1.0.0.tgz",
- "integrity": "sha512-qKtAJJwjz50iCzKtk27j8nERYG2rZJIwFUhZBIYVOhjijKfjMDT6o0vsaYRtTI+ZxroU+4J96R7x80qTevF90A==",
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/svelte-sonner/-/svelte-sonner-1.0.1.tgz",
+ "integrity": "sha512-vz0eqcs9GNnJ2CTtTno7v/jSA0P3r+X+3y/hrJg+FPpB2rZCFywIKNKD3wiRI8449i3LXVcgQ+q5R5ocOd6ydA==",
"dev": true,
"license": "MIT",
+ "dependencies": {
+ "runed": "^0.26.0"
+ },
"peerDependencies": {
"svelte": "^5.0.0"
}
},
+ "node_modules/svelte-sonner/node_modules/runed": {
+ "version": "0.26.0",
+ "resolved": "https://registry.npmjs.org/runed/-/runed-0.26.0.tgz",
+ "integrity": "sha512-qWFv0cvLVRd8pdl/AslqzvtQyEn5KaIugEernwg9G98uJVSZcs/ygvPBvF80LA46V8pwRvSKnaVLDI3+i2wubw==",
+ "dev": true,
+ "funding": [
+ "https://github.com/sponsors/huntabyte",
+ "https://github.com/sponsors/tglide"
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "esm-env": "^1.0.0"
+ },
+ "peerDependencies": {
+ "svelte": "^5.7.0"
+ }
+ },
"node_modules/svelte-toolbelt": {
"version": "0.7.1",
"resolved": "https://registry.npmjs.org/svelte-toolbelt/-/svelte-toolbelt-0.7.1.tgz",
@@ -6777,6 +6738,12 @@
"tar-stream": "^2.1.4"
}
},
+ "node_modules/tar-fs/node_modules/chownr": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==",
+ "license": "ISC"
+ },
"node_modules/tar-stream": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
@@ -6793,16 +6760,6 @@
"node": ">=6"
}
},
- "node_modules/tar/node_modules/chownr": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
- "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
- "dev": true,
- "license": "BlueOak-1.0.0",
- "engines": {
- "node": ">=18"
- }
- },
"node_modules/thememirror": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/thememirror/-/thememirror-2.0.1.tgz",
@@ -6966,29 +6923,6 @@
"node": ">= 0.6"
}
},
- "node_modules/type-is/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/type-is/node_modules/mime-types": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.1.tgz",
- "integrity": "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
"node_modules/typescript": {
"version": "5.8.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.3.tgz",
@@ -7004,15 +6938,15 @@
}
},
"node_modules/typescript-eslint": {
- "version": "8.32.0",
- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.32.0.tgz",
- "integrity": "sha512-UMq2kxdXCzinFFPsXc9o2ozIpYCCOiEC46MG3yEh5Vipq6BO27otTtEBZA1fQ66DulEUgE97ucQ/3YY66CPg0A==",
+ "version": "8.32.1",
+ "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.32.1.tgz",
+ "integrity": "sha512-D7el+eaDHAmXvrZBy1zpzSNIRqnCOrkwTgZxTu3MUqRWk8k0q9m9Ho4+vPf7iHtgUfrK/o8IZaEApsxPlHTFCg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/eslint-plugin": "8.32.0",
- "@typescript-eslint/parser": "8.32.0",
- "@typescript-eslint/utils": "8.32.0"
+ "@typescript-eslint/eslint-plugin": "8.32.1",
+ "@typescript-eslint/parser": "8.32.1",
+ "@typescript-eslint/utils": "8.32.1"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -7183,6 +7117,21 @@
}
}
},
+ "node_modules/vite/node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "dev": true,
+ "hasInstallScript": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
"node_modules/vitefu": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.0.6.tgz",
diff --git a/package.json b/package.json
index 72ce2538a..7813c9ccd 100644
--- a/package.json
+++ b/package.json
@@ -57,6 +57,7 @@
"@codemirror/legacy-modes": "^6.5.1",
"@swimlane/docker-reference": "^2.0.1",
"@tanstack/table-core": "^8.21.3",
+ "arctic": "^3.6.1",
"axios": "^1.9.0",
"bcryptjs": "^3.0.2",
"codemirror": "^6.0.1",
diff --git a/src/hooks.server.ts b/src/hooks.server.ts
index 4dbf9ab23..5e24718e2 100644
--- a/src/hooks.server.ts
+++ b/src/hooks.server.ts
@@ -32,7 +32,7 @@ const authHandler: Handle = async ({ event, resolve }) => {
const path = url.pathname;
// Define paths that don't require authentication
- const publicPaths = ['/auth/login', '/img'];
+ const publicPaths = ['/auth/login', '/img', '/auth/oidc/login', '/auth/oidc/callback'];
const isPublicPath = publicPaths.some((p) => path.startsWith(p));
// Always allow access to public paths
diff --git a/src/lib/services/oidc-service.ts b/src/lib/services/oidc-service.ts
new file mode 100644
index 000000000..cc001b6d4
--- /dev/null
+++ b/src/lib/services/oidc-service.ts
@@ -0,0 +1,58 @@
+import { OAuth2Client } from 'arctic';
+import { env } from '$env/dynamic/private';
+import { getSettings } from './settings-service';
+
+const settings = await getSettings();
+
+// Resolve OIDC configuration:
+// 1. Environment variables (highest precedence)
+// 2. Settings from getSettings() (if OIDC is enabled in settings and env var is not set)
+// 3. Hardcoded fallback for scopes if neither of the above provides it.
+
+let resolvedClientId = env.OIDC_CLIENT_ID;
+let resolvedClientSecret = env.OIDC_CLIENT_SECRET;
+let resolvedRedirectUri = env.OIDC_REDIRECT_URI;
+let resolvedAuthEndpoint = env.OIDC_AUTHORIZATION_ENDPOINT;
+let resolvedTokenEndpoint = env.OIDC_TOKEN_ENDPOINT;
+let resolvedUserInfoEndpoint = env.OIDC_USERINFO_ENDPOINT;
+let resolvedScopesString = env.OIDC_SCOPES;
+
+// If OIDC is enabled in settings, use those values as fallbacks if environment variables are not set.
+if (settings.auth.oidcEnabled && settings.auth.oidc) {
+ if (resolvedClientId === undefined) resolvedClientId = settings.auth.oidc.clientId;
+ if (resolvedClientSecret === undefined) resolvedClientSecret = settings.auth.oidc.clientSecret;
+ if (resolvedRedirectUri === undefined) resolvedRedirectUri = settings.auth.oidc.redirectUri;
+ if (resolvedAuthEndpoint === undefined) resolvedAuthEndpoint = settings.auth.oidc.authorizationEndpoint;
+ if (resolvedTokenEndpoint === undefined) resolvedTokenEndpoint = settings.auth.oidc.tokenEndpoint;
+ if (resolvedUserInfoEndpoint === undefined) resolvedUserInfoEndpoint = settings.auth.oidc.userinfoEndpoint;
+ if (resolvedScopesString === undefined) resolvedScopesString = settings.auth.oidc.scopes;
+}
+
+if (resolvedScopesString === undefined) {
+ resolvedScopesString = 'openid email profile';
+}
+
+export const OIDC_SCOPES = resolvedScopesString.split(' ').filter((s) => s.trim() !== '');
+
+// Export the resolved configuration values
+export const OIDC_CLIENT_ID = resolvedClientId;
+export const OIDC_CLIENT_SECRET = resolvedClientSecret;
+export const OIDC_REDIRECT_URI = resolvedRedirectUri;
+export const OIDC_AUTHORIZATION_ENDPOINT = resolvedAuthEndpoint;
+export const OIDC_TOKEN_ENDPOINT = resolvedTokenEndpoint;
+export const OIDC_USERINFO_ENDPOINT = resolvedUserInfoEndpoint;
+
+// Critical configuration check using the resolved values
+if (!OIDC_CLIENT_ID || !OIDC_CLIENT_SECRET || !OIDC_REDIRECT_URI) {
+ const missing: string[] = [];
+ if (!OIDC_CLIENT_ID) missing.push('Client ID');
+ if (!OIDC_CLIENT_SECRET) missing.push('Client Secret');
+ if (!OIDC_REDIRECT_URI) missing.push('Redirect URI');
+ throw new Error(`Critical OIDC configuration (${missing.join(', ')}) not found in environment variables or application settings.`);
+}
+
+export const oidcClient = new OAuth2Client(OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, OIDC_REDIRECT_URI);
+
+if (!OIDC_AUTHORIZATION_ENDPOINT || !OIDC_TOKEN_ENDPOINT) {
+ console.warn('OIDC Authorization or Token Endpoint is not set (from environment or application settings). OIDC flow will likely fail.');
+}
diff --git a/src/lib/services/settings-service.ts b/src/lib/services/settings-service.ts
index d37095c2f..68e5436ae 100644
--- a/src/lib/services/settings-service.ts
+++ b/src/lib/services/settings-service.ts
@@ -1,9 +1,10 @@
import fs from 'node:fs/promises';
import path from 'node:path';
import proper from 'proper-lockfile';
-import type { Settings } from '$lib/types/settings.type';
+import type { Settings, OidcConfig } from '$lib/types/settings.type';
import { encrypt, decrypt } from './encryption-service';
import { SETTINGS_DIR, STACKS_DIR, ensureDirectory } from './paths-service';
+import { env } from '$env/dynamic/private';
const isDev = process.env.NODE_ENV === 'development';
@@ -18,6 +19,7 @@ export const DEFAULT_SETTINGS: Settings = {
registryCredentials: [],
auth: {
localAuthEnabled: true,
+ oidcEnabled: false,
sessionTimeout: 60,
passwordPolicy: 'strong',
rbacEnabled: false
@@ -92,31 +94,83 @@ async function saveSetting(key: string, value: any): Promise<void> {
}
export async function getSettings(): Promise<Settings> {
+ let effectiveSettings: Settings;
+
try {
await ensureSettingsDir();
const filePath = path.join(SETTINGS_DIR, 'settings.dat');
try {
await fs.access(filePath);
- } catch {
- return getDefaultSettings();
+ const rawData = await fs.readFile(filePath, 'utf8');
+ const settingsFromFile = JSON.parse(rawData);
+
+ let baseSettings = JSON.parse(JSON.stringify(DEFAULT_SETTINGS)) as Settings;
+
+ if (settingsFromFile._encrypted) {
+ const { _encrypted, ...nonSensitiveSettings } = settingsFromFile;
+ const decryptedData = await decrypt(_encrypted);
+
+ effectiveSettings = {
+ ...baseSettings,
+ ...nonSensitiveSettings,
+ auth: {
+ ...baseSettings.auth,
+ ...(nonSensitiveSettings.auth || {}),
+ ...(decryptedData.auth || {})
+ },
+ registryCredentials: decryptedData.registryCredentials || baseSettings.registryCredentials,
+ onboarding: nonSensitiveSettings.onboarding || baseSettings.onboarding,
+ baseServerUrl: nonSensitiveSettings.baseServerUrl || baseSettings.baseServerUrl
+ };
+ } else {
+ effectiveSettings = {
+ ...baseSettings,
+ ...settingsFromFile,
+ auth: {
+ ...baseSettings.auth,
+ ...(settingsFromFile.auth || {})
+ },
+ registryCredentials: settingsFromFile.registryCredentials || baseSettings.registryCredentials,
+ onboarding: settingsFromFile.onboarding || baseSettings.onboarding,
+ baseServerUrl: settingsFromFile.baseServerUrl || baseSettings.baseServerUrl
+ };
+ }
+ } catch (fileError) {
+ console.warn('Settings file not found or unreadable, using default settings.', fileError instanceof Error ? fileError.message : fileError);
+ effectiveSettings = JSON.parse(JSON.stringify(DEFAULT_SETTINGS)) as Settings;
}
+ } catch (dirError) {
+ console.error('Critical error ensuring settings directory or reading settings file:', dirError);
+ effectiveSettings = JSON.parse(JSON.stringify(DEFAULT_SETTINGS)) as Settings;
+ }
- const rawData = await fs.readFile(filePath, 'utf8');
- const settingsData = JSON.parse(rawData);
-
- if (settingsData._encrypted) {
- const { _encrypted, ...nonSensitiveSettings } = settingsData;
- const decryptedData = await decrypt(_encrypted);
-
- return { ...nonSensitiveSettings, ...decryptedData };
+ const oidcClientId = env.OIDC_CLIENT_ID;
+ const oidcClientSecret = env.OIDC_CLIENT_SECRET;
+ const oidcRedirectUri = env.OIDC_REDIRECT_URI;
+ const oidcAuthorizationEndpoint = env.OIDC_AUTHORIZATION_ENDPOINT;
+ const oidcTokenEndpoint = env.OIDC_TOKEN_ENDPOINT;
+ const oidcUserinfoEndpoint = env.OIDC_USERINFO_ENDPOINT;
+ const oidcScopesEnv = env.OIDC_SCOPES;
+
+ if (oidcClientId && oidcClientSecret && oidcRedirectUri && oidcAuthorizationEndpoint && oidcTokenEndpoint && oidcUserinfoEndpoint) {
+ if (!effectiveSettings.auth) {
+ effectiveSettings.auth = JSON.parse(JSON.stringify(DEFAULT_SETTINGS.auth));
}
- return settingsData;
- } catch (error) {
- console.error('Error loading settings:', error);
- return getDefaultSettings();
+ const oidcConfigFromEnv: OidcConfig = {
+ clientId: oidcClientId,
+ clientSecret: oidcClientSecret,
+ redirectUri: oidcRedirectUri,
+ authorizationEndpoint: oidcAuthorizationEndpoint,
+ tokenEndpoint: oidcTokenEndpoint,
+ userinfoEndpoint: oidcUserinfoEndpoint,
+ scopes: oidcScopesEnv || effectiveSettings.auth.oidc?.scopes || DEFAULT_SETTINGS.auth.oidc?.scopes || 'openid email profile'
+ };
+ effectiveSettings.auth.oidc = oidcConfigFromEnv;
}
+
+ return effectiveSettings;
}
export async function saveSettings(settings: Settings): Promise<void> {
@@ -143,7 +197,7 @@ export async function saveSettings(settings: Settings): Promise<void> {
const dataToSave = {
...nonSensitiveSettings,
- _encrypted: await encrypt({ auth, registryCredentials })
+ _encrypted: await encrypt({ auth: auth || DEFAULT_SETTINGS.auth, registryCredentials: registryCredentials || [] })
};
await fs.writeFile(filePath, JSON.stringify(dataToSave, null, 2), { mode: 0o600 });
@@ -161,7 +215,3 @@ export async function saveSettings(settings: Settings): Promise<void> {
}
}
}
-
-function getDefaultSettings(): Settings {
- return DEFAULT_SETTINGS;
-}
diff --git a/src/lib/services/user-service.ts b/src/lib/services/user-service.ts
index 408ecd5d2..6f4484efa 100644
--- a/src/lib/services/user-service.ts
+++ b/src/lib/services/user-service.ts
@@ -75,6 +75,9 @@ export async function saveUser(user: User): Promise<User> {
}
export async function verifyPassword(user: User, password: string): Promise<boolean> {
+ if (typeof user.passwordHash !== 'string') {
+ return false;
+ }
return await bcrypt.compare(password, user.passwordHash);
}
@@ -117,3 +120,9 @@ export async function listUsers(): Promise<User[]> {
return [];
}
}
+
+export async function getUserByOidcSubjectId(oidcSubjectId: string): Promise<User | null> {
+ const users = await listUsers();
+ const user = users.find((u) => u.oidcSubjectId === oidcSubjectId);
+ return user || null;
+}
diff --git a/src/lib/stores/settings-store.ts b/src/lib/stores/settings-store.ts
index 5356c6334..8f188e1ae 100644
--- a/src/lib/stores/settings-store.ts
+++ b/src/lib/stores/settings-store.ts
@@ -35,6 +35,7 @@ export const settingsStore = writable<Settings>({
registryCredentials: [],
auth: {
localAuthEnabled: true,
+ oidcEnabled: false,
sessionTimeout: 30,
passwordPolicy: 'strong',
rbacEnabled: false
diff --git a/src/lib/types/settings.type.ts b/src/lib/types/settings.type.ts
index 8d3778d26..99b559418 100644
--- a/src/lib/types/settings.type.ts
+++ b/src/lib/types/settings.type.ts
@@ -1,8 +1,10 @@
export interface AuthSettings {
localAuthEnabled: boolean;
+ oidcEnabled: boolean;
sessionTimeout: number;
passwordPolicy: 'basic' | 'standard' | 'strong';
rbacEnabled: boolean;
+ oidc?: OidcConfig;
}
export interface RegistryCredential {
@@ -11,6 +13,16 @@ export interface RegistryCredential {
password: string;
}
+export interface OidcConfig {
+ clientId: string;
+ clientSecret: string;
+ redirectUri: string;
+ authorizationEndpoint: string;
+ tokenEndpoint: string;
+ userinfoEndpoint: string;
+ scopes: string;
+}
+
export interface Onboarding {
completed: boolean;
completedAt?: string;
diff --git a/src/lib/types/user.type.ts b/src/lib/types/user.type.ts
index 33521a10f..c016885de 100644
--- a/src/lib/types/user.type.ts
+++ b/src/lib/types/user.type.ts
@@ -1,7 +1,7 @@
export type User = {
id: string;
username: string;
- passwordHash: string;
+ passwordHash?: string;
displayName?: string;
email?: string;
roles: string[];
@@ -9,4 +9,5 @@ export type User = {
lastLogin?: string;
requirePasswordChange?: boolean;
updatedAt?: string;
+ oidcSubjectId?: string;
};
diff --git a/src/routes/auth/login/+page.server.ts b/src/routes/auth/login/+page.server.ts
index 0cd53e5a0..57636f3aa 100644
--- a/src/routes/auth/login/+page.server.ts
+++ b/src/routes/auth/login/+page.server.ts
@@ -6,12 +6,12 @@ import { getSettings } from '$lib/services/settings-service';
export const load: PageServerLoad = async ({ locals, url }) => {
// Check if already logged in
const session = locals.session.data;
+ const appSettings = await getSettings(); // Load application settings
if (session?.userId) {
// Already logged in, check if onboarding needed
- const settings = await getSettings();
- if (!settings.onboarding?.completed) {
+ if (!appSettings.onboarding?.completed) {
throw redirect(302, '/onboarding/welcome');
} else {
throw redirect(302, '/');
@@ -20,7 +20,13 @@ export const load: PageServerLoad = async ({ locals, url }) => {
// Pass the redirect URL from the query string to the form
const redirectTo = url.searchParams.get('redirect') || '/';
- return { redirectTo };
+ const error = url.searchParams.get('error'); // Get error from URL params for OIDC errors
+
+ return {
+ redirectTo,
+ settings: appSettings, // Pass all settings to the page
+ error // Pass error to the page
+ };
};
export const actions: Actions = {
@@ -28,21 +34,33 @@ export const actions: Actions = {
const formData = await request.formData();
const username = formData.get('username')?.toString() || '';
const password = formData.get('password')?.toString() || '';
- const redirectTo = formData.get('redirectTo')?.toString() || '/';
+ const redirectTo = formData.get('redirectTo')?.toString() || '/'; // Ensure redirectTo is retrieved from form
try {
const user = await getUserByUsername(username);
if (!user) {
console.log(`User not found: ${username}`);
- return fail(400, { error: 'Invalid username or password', username });
+ return fail(400, { error: 'Invalid username or password', username, redirectTo });
+ }
+
+ // Check if local login is disabled by settings
+ const appSettings = await getSettings();
+ if (appSettings.auth?.localAuthEnabled === false) {
+ console.log(`Local login attempt for ${username} when local auth is disabled.`);
+ return fail(403, { error: 'Local login is disabled.', username, redirectTo });
+ }
+ // Also check if the user is an OIDC-only user (no passwordHash)
+ if (!user.passwordHash) {
+ console.log(`Local login attempt for OIDC-only user: ${username}`);
+ return fail(400, { error: 'This account must sign in via OIDC.', username, redirectTo });
}
const passwordValid = await verifyPassword(user, password);
if (!passwordValid) {
console.log('Password verification failed');
- return fail(400, { error: 'Invalid username or password', username });
+ return fail(400, { error: 'Invalid username or password', username, redirectTo });
}
try {
@@ -54,24 +72,23 @@ export const actions: Actions = {
});
} catch (sessionError) {
console.error('Session creation error:', sessionError);
- throw sessionError;
+ // Re-throw or return a specific fail, depending on desired behavior
+ return fail(500, { error: 'Failed to create session.', username, redirectTo });
}
- console.log(`Redirecting to: ${redirectTo}`);
+ // Instead of returning an object with status and location,
+ // SvelteKit form actions expect a redirect to be thrown for 302.
return {
status: 302,
location: redirectTo
};
} catch (error) {
- // Detailed error logging
- console.error('Login error details:', error);
-
- if (error instanceof Response) throw error;
+ // If it's a redirect, let it propagate
+ if (error instanceof Response && error.status === 302) throw error;
- // Include more specific error message if available
+ console.error('Login error details:', error);
const errorMessage = error instanceof Error ? `Login failed: ${error.message}` : 'An error occurred during login';
-
- return fail(500, { error: errorMessage, username });
+ return fail(500, { error: errorMessage, username, redirectTo });
}
}
};
diff --git a/src/routes/auth/login/+page.svelte b/src/routes/auth/login/+page.svelte
index f6e4f8d50..f297675ab 100644
--- a/src/routes/auth/login/+page.svelte
+++ b/src/routes/auth/login/+page.svelte
@@ -4,11 +4,11 @@
import { Input } from '$lib/components/ui/input/index.js';
import { Label } from '$lib/components/ui/label/index.js';
import * as Alert from '$lib/components/ui/alert/index.js';
- import { AlertCircle } from '@lucide/svelte';
+ import { AlertCircle, LogIn } from '@lucide/svelte';
import type { PageData } from './$types';
import { goto } from '$app/navigation';
+ import { env } from '$env/dynamic/public';
- // Define a proper type for form data
type ActionData = {
error?: string;
username?: string;
@@ -17,6 +17,20 @@
let { data, form }: { data: PageData; form: ActionData | null } = $props();
let loading = $state(false);
+
+ const oidcForcedByEnv = env.PUBLIC_OIDC_ENABLED === 'true';
+ const oidcEnabledBySettings = data.settings?.auth?.oidcEnabled === true;
+ const showOidcLoginButton = $derived(oidcForcedByEnv || oidcEnabledBySettings);
+
+ const localAuthEnabledBySettings = data.settings?.auth?.localAuthEnabled !== false;
+ const showLocalLoginForm = $derived(localAuthEnabledBySettings);
+
+ function handleOidcLogin() {
+ const currentRedirect = data.redirectTo || '/';
+ goto(`/auth/oidc/login?redirect=${encodeURIComponent(currentRedirect)}`);
+ }
+
+ const showDivider = $derived(showOidcLoginButton && showLocalLoginForm);
</script>
<div class="flex max-h-screen flex-col justify-center my-auto py-12 sm:px-6 lg:px-8">
@@ -27,6 +41,31 @@
<div class="mt-10 mx-auto w-full max-w-[480px]">
<div class="bg-card px-6 py-5 shadow sm:rounded-lg sm:px-12">
+ {#if data.error}
+ <Alert.Root class="mb-4" variant="destructive">
+ <AlertCircle class="h-4 w-4 mr-2" />
+ <Alert.Title>Login Problem</Alert.Title>
+ <Alert.Description>
+ {#if data.error === 'oidc_invalid_response'}
+ There was an issue with the OIDC login response. Please try again.
+ {:else if data.error === 'oidc_misconfigured'}
+ OIDC is not configured correctly on the server. Please contact an administrator.
+ {:else if data.error === 'oidc_userinfo_failed'}
+ Could not retrieve your user information from the OIDC provider.
+ {:else if data.error === 'oidc_missing_sub'}
+ Your OIDC provider did not return a subject identifier.
+ {:else if data.error === 'oidc_email_collision'}
+ An account with your email already exists but is linked to a different OIDC identity. Please contact an administrator.
+ {:else if data.error === 'oidc_token_error'}
+ There was an error obtaining tokens from the OIDC provider.
+ {:else if data.error === 'user_processing_failed'}
+ An error occurred while processing your user account.
+ {:else}
+ An unexpected error occurred. Please try again.
+ {/if}
+ </Alert.Description>
+ </Alert.Root>
+ {/if}
{#if form?.error}
<Alert.Root class="mb-4" variant="destructive">
<AlertCircle class="h-4 w-4 mr-2" />
@@ -35,47 +74,79 @@
</Alert.Root>
{/if}
- <form
- class="space-y-6"
- method="POST"
- action="?/login"
- use:enhance={() => {
- loading = true;
- return async ({ result, update }) => {
- loading = false;
- // Handle other result states like error
- if (result.type === 'error') {
- console.error('An unexpected error occurred during login');
- } else if (result.type === 'success') {
- goto(data.redirectTo);
- }
- await update();
- };
- }}
- >
- <div>
- <Label for="username" class="block text-sm font-medium leading-6">Username</Label>
- <div class="mt-2">
- <Input id="username" name="username" type="text" autocomplete="username" required value={form?.username ?? ''} />
+ {#if !showLocalLoginForm && !showOidcLoginButton}
+ <Alert.Root variant="destructive">
+ <AlertCircle class="h-4 w-4 mr-2" />
+ <Alert.Title>No Login Methods Configured</Alert.Title>
+ <Alert.Description>There are currently no login methods enabled. Please contact an administrator.</Alert.Description>
+ </Alert.Root>
+ {/if}
+
+ {#if showLocalLoginForm}
+ <form
+ class="space-y-6"
+ method="POST"
+ action="?/login"
+ use:enhance={() => {
+ loading = true;
+ return async ({ result, update }) => {
+ loading = false;
+ if (result.type === 'error') {
+ console.error('An unexpected error occurred during login form submission');
+ }
+ if (result.type !== 'redirect') {
+ await update();
+ }
+ };
+ }}
+ >
+ <input type="hidden" name="redirectTo" value={data.redirectTo} />
+ <div>
+ <Label for="username" class="block text-sm font-medium leading-6">Username or Email</Label>
+ <div class="mt-2">
+ <Input id="username" name="username" type="text" autocomplete="username" required value={form?.username ?? ''} />
+ </div>
</div>
- </div>
- <div>
- <Label for="password" class="block text-sm font-medium leading-6">Password</Label>
- <div class="mt-2">
- <Input id="password" name="password" type="password" autocomplete="current-password" required />
+ <div>
+ <Label for="password" class="block text-sm font-medium leading-6">Password</Label>
+ <div class="mt-2">
+ <Input id="password" name="password" type="password" autocomplete="current-password" required />
+ </div>
+ </div>
+
+ <div>
+ <Button type="submit" class="w-full" disabled={loading} aria-busy={loading}>
+ {#if loading}
+ <span class="loading loading-spinner loading-xs mr-2"></span>
+ {/if}
+ Sign in
+ </Button>
+ </div>
+ </form>
+ {/if}
+
+ {#if showDivider}
+ <div class="mt-6">
+ <div class="relative">
+ <div class="absolute inset-0 flex items-center">
+ <div class="w-full border-t border-border"></div>
+ </div>
+ <div class="relative flex justify-center text-sm">
+ <span class="bg-card px-2 text-muted-foreground">Or continue with</span>
+ </div>
</div>
</div>
+ {/if}
- <div>
- <Button type="submit" class="w-full" disabled={loading} aria-busy={loading}>
- {#if loading}
- <span class="loading loading-spinner loading-xs mr-2"></span>
- {/if}
- Sign in
+ {#if showOidcLoginButton}
+ <div class="mt-6 {showLocalLoginForm ? '' : 'pt-0'}">
+ <Button onclick={handleOidcLogin} variant="outline" class="w-full">
+ <LogIn class="mr-2 h-4 w-4" />
+ Sign in with OIDC Provider
</Button>
</div>
- </form>
+ {/if}
</div>
</div>
</div>
diff --git a/src/routes/auth/oidc/callback/+server.ts b/src/routes/auth/oidc/callback/+server.ts
new file mode 100644
index 000000000..551bd8a02
--- /dev/null
+++ b/src/routes/auth/oidc/callback/+server.ts
@@ -0,0 +1,154 @@
+import { redirect } from '@sveltejs/kit';
+import { OAuth2RequestError } from 'arctic';
+import { oidcClient, OIDC_TOKEN_ENDPOINT, OIDC_USERINFO_ENDPOINT } from '$lib/services/oidc-service';
+import { getUserByUsername, saveUser, getUserById, getUserByOidcSubjectId } from '$lib/services/user-service';
+import type { User } from '$lib/types/user.type';
+import { nanoid } from 'nanoid';
+import type { RequestHandler } from './$types';
+import type { UserSession } from '$lib/types/session.type';
+
+export const GET: RequestHandler = async ({ url, cookies, locals }) => {
+ const code = url.searchParams.get('code');
+ const state = url.searchParams.get('state');
+ const storedState = cookies.get('oidc_state');
+ const codeVerifier = cookies.get('oidc_code_verifier');
+ const finalRedirectTo = cookies.get('oidc_redirect') || '/';
+
+ cookies.delete('oidc_state', { path: '/' });
+ cookies.delete('oidc_code_verifier', { path: '/' });
+ cookies.delete('oidc_redirect', { path: '/' });
+
+ if (!code || !state || !storedState || state !== storedState || !codeVerifier) {
+ console.error('OIDC callback error: state mismatch or missing params.');
+ throw redirect(302, '/auth/login?error=oidc_invalid_response');
+ }
+
+ if (!OIDC_TOKEN_ENDPOINT) {
+ console.error('OIDC_TOKEN_ENDPOINT is not configured.');
+ throw redirect(302, '/auth/login?error=oidc_misconfigured');
+ }
+
+ try {
+ const tokens = await oidcClient.validateAuthorizationCode(OIDC_TOKEN_ENDPOINT, code, codeVerifier);
+
+ if (!OIDC_USERINFO_ENDPOINT) {
+ console.error('OIDC_USERINFO_ENDPOINT is not configured. Cannot fetch user details.');
+ throw redirect(302, '/auth/login?error=oidc_misconfigured');
+ }
+
+ const userInfoResponse = await fetch(OIDC_USERINFO_ENDPOINT, {
+ headers: {
+ Authorization: `Bearer ${tokens.accessToken()}`
+ }
+ });
+
+ if (!userInfoResponse.ok) {
+ console.error('Failed to fetch user info from OIDC provider:', await userInfoResponse.text());
+ throw redirect(302, '/auth/login?error=oidc_userinfo_failed');
+ }
+
+ const oidcUser = await userInfoResponse.json();
+
+ const oidcSubjectId = oidcUser.sub;
+ const oidcUserEmail = oidcUser.email;
+ const oidcUserDisplayName = oidcUser.name || oidcUser.preferred_username;
+ const oidcUsername = oidcUser.preferred_username || oidcUser.email || `user-${oidcUser.sub?.slice(0, 8)}`;
+
+ if (!oidcSubjectId) {
+ console.error('OIDC userinfo response missing "sub" (subject identifier).');
+ throw redirect(302, '/auth/login?error=oidc_missing_sub');
+ }
+
+ let user: User | null = null;
+ let needsUpdate = false;
+
+ user = await getUserByOidcSubjectId(oidcSubjectId);
+
+ if (user) {
+ if (oidcUserDisplayName && user.displayName !== oidcUserDisplayName) {
+ user.displayName = oidcUserDisplayName;
+ needsUpdate = true;
+ }
+ if (oidcUserEmail && user.email !== oidcUserEmail) {
+ user.email = oidcUserEmail;
+ needsUpdate = true;
+ }
+ if (needsUpdate) {
+ user.updatedAt = new Date().toISOString();
+ }
+ } else if (oidcUserEmail) {
+ const userByEmail = await getUserByUsername(oidcUserEmail);
+ if (userByEmail) {
+ if (!userByEmail.oidcSubjectId) {
+ userByEmail.oidcSubjectId = oidcSubjectId;
+ userByEmail.displayName = oidcUserDisplayName || userByEmail.displayName;
+ userByEmail.updatedAt = new Date().toISOString();
+ user = userByEmail;
+ needsUpdate = true;
+ } else if (userByEmail.oidcSubjectId === oidcSubjectId) {
+ user = userByEmail;
+ if (oidcUserDisplayName && user.displayName !== oidcUserDisplayName) {
+ user.displayName = oidcUserDisplayName;
+ needsUpdate = true;
+ }
+ if (needsUpdate) {
+ user.updatedAt = new Date().toISOString();
+ }
+ } else {
+ console.error(`OIDC login attempt for email ${oidcUserEmail} with new OIDC subjectId ${oidcSubjectId}, but email is already linked to OIDC subjectId ${userByEmail.oidcSubjectId}.`);
+ throw redirect(302, '/auth/login?error=oidc_email_collision');
+ }
+ }
+ }
+
+ if (!user) {
+ const newUser: User = {
+ id: nanoid(),
+ username: oidcUsername,
+ email: oidcUserEmail,
+ displayName: oidcUserDisplayName,
+ oidcSubjectId: oidcSubjectId,
+ roles: ['admin'], //This will be part of the rbac feature, user or admin doesnt really matter right now
+ createdAt: new Date().toISOString(),
+ updatedAt: new Date().toISOString(),
+ lastLogin: new Date().toISOString()
+ };
+ user = newUser;
+ needsUpdate = true;
+ }
+
+ if (needsUpdate && user) {
+ await saveUser(user);
+ }
+
+ if (!user || !user.id || !user.username) {
+ console.error('Failed to retrieve or create user after OIDC auth.');
+ throw redirect(302, '/auth/login?error=user_processing_failed');
+ }
+
+ if (user && !needsUpdate) {
+ user.lastLogin = new Date().toISOString();
+ user.updatedAt = new Date().toISOString();
+ await saveUser(user);
+ }
+
+ const userSession: UserSession = {
+ userId: user.id,
+ username: user.username,
+ createdAt: Date.now(),
+ lastAccessed: Date.now()
+ };
+ await locals.session.set(userSession);
+
+ throw redirect(302, finalRedirectTo);
+ } catch (e) {
+ console.error('OIDC callback processing error:', e);
+ if (e instanceof OAuth2RequestError) {
+ throw redirect(302, `/auth/login?error=oidc_token_error&code=${e.code || 'unknown'}`);
+ }
+ if (e instanceof Error && e.message.includes('/auth/login?error=oidc_email_collision')) {
+ throw e;
+ }
+ throw redirect(302, '/auth/login?error=oidc_generic_error');
+ }
+};
diff --git a/src/routes/auth/oidc/login/+server.ts b/src/routes/auth/oidc/login/+server.ts
new file mode 100644
index 000000000..74137c38b
--- /dev/null
+++ b/src/routes/auth/oidc/login/+server.ts
@@ -0,0 +1,57 @@
+import { redirect } from '@sveltejs/kit';
+import { generateState, generateCodeVerifier, CodeChallengeMethod } from 'arctic';
+import { oidcClient, OIDC_AUTHORIZATION_ENDPOINT, OIDC_SCOPES } from '$lib/services/oidc-service';
+import type { RequestHandler } from './$types';
+
+export const GET: RequestHandler = async ({ cookies, url }) => {
+ if (!OIDC_AUTHORIZATION_ENDPOINT) {
+ console.error('OIDC_AUTHORIZATION_ENDPOINT is not configured.');
+ throw redirect(302, '/auth/login?error=oidc_misconfigured');
+ }
+
+ const state = generateState();
+ const codeVerifier = generateCodeVerifier();
+
+ const authUrl = await oidcClient.createAuthorizationURLWithPKCE(OIDC_AUTHORIZATION_ENDPOINT, state, CodeChallengeMethod.S256, codeVerifier, OIDC_SCOPES);
+
+ cookies.set('oidc_state', state, {
+ path: '/',
+ secure: import.meta.env.PROD,
+ httpOnly: true,
+ maxAge: 60 * 10,
+ sameSite: 'lax'
+ });
+
+ cookies.set('oidc_code_verifier', codeVerifier, {
+ path: '/',
+ secure: import.meta.env.PROD,
+ httpOnly: true,
+ maxAge: 60 * 10,
+ sameSite: 'lax'
+ });
+
+ // Add validation for the redirect URL
+ function isSafeRedirect(redirect: string | null): boolean {
+ if (!redirect) return false;
+ try {
+ // Only allow relative paths (no protocol, no host)
+ const parsed = new URL(redirect, 'http://dummy');
+ return parsed.origin === 'http://dummy' && redirect.startsWith('/');
+ } catch {
+ return false;
+ }
+ }
+
+ const redirectUrl = url.searchParams.get('redirect');
+ const safeRedirect = isSafeRedirect(redirectUrl) ? redirectUrl : '/';
+
+ cookies.set('oidc_redirect', safeRedirect ?? '/', {
+ path: '/',
+ secure: import.meta.env.PROD,
+ httpOnly: true,
+ maxAge: 60 * 10,
+ sameSite: 'lax'
+ });
+
+ throw redirect(302, authUrl.toString());
+};
diff --git a/src/routes/settings/+page.server.ts b/src/routes/settings/+page.server.ts
index 672c45d75..1a9cf542b 100644
--- a/src/routes/settings/+page.server.ts
+++ b/src/routes/settings/+page.server.ts
@@ -1,6 +1,7 @@
import type { PageServerLoad } from './$types';
import { getSettings } from '$lib/services/settings-service';
import { listUsers } from '$lib/services/user-service';
+import { env } from '$env/dynamic/private'; // Import private env
export const load: PageServerLoad = async () => {
const settings = await getSettings();
@@ -13,9 +14,13 @@ export const load: PageServerLoad = async () => {
return rest;
});
+ // Check if essential OIDC environment variables are configured
+ const oidcEnvVarsConfigured = !!env.OIDC_CLIENT_ID && !!env.OIDC_CLIENT_SECRET && !!env.OIDC_REDIRECT_URI && !!env.OIDC_AUTHORIZATION_ENDPOINT && !!env.OIDC_TOKEN_ENDPOINT && !!env.OIDC_USERINFO_ENDPOINT;
+
return {
settings,
csrf,
- users: sanitizedUsers
+ users: sanitizedUsers,
+ oidcEnvVarsConfigured // Pass this to the page
};
};
diff --git a/src/routes/settings/tabs/authentication.svelte b/src/routes/settings/tabs/authentication.svelte
index 168407ba9..964c85575 100644
--- a/src/routes/settings/tabs/authentication.svelte
+++ b/src/routes/settings/tabs/authentication.svelte
@@ -1,13 +1,105 @@
<script lang="ts">
+ import { onMount } from 'svelte'; // Import onMount
+ import { env as publicEnv } from '$env/dynamic/public'; // Import public env
import type { PageData } from '../$types';
import * as Card from '$lib/components/ui/card/index.js';
import { Button } from '$lib/components/ui/button/index.js';
import { Input } from '$lib/components/ui/input/index.js';
import { Switch } from '$lib/components/ui/switch/index.js';
- import { Lock, Key } from '@lucide/svelte';
- import { settingsStore } from '$lib/stores/settings-store';
+ import { Lock, Key, AlertTriangle, Info } from '@lucide/svelte';
+ import { settingsStore, saveSettingsToServer } from '$lib/stores/settings-store';
+ import * as Dialog from '$lib/components/ui/dialog/index.js';
+ import { Label } from '$lib/components/ui/label/index.js';
+ import { toast } from 'svelte-sonner';
let { data } = $props<{ data: PageData }>();
+
+ const isOidcForcedByPublicEnv = publicEnv.PUBLIC_OIDC_ENABLED === 'true';
+
+ let showOidcConfigDialog = $state(false);
+ let oidcConfigForm = $state({
+ clientId: data.settings?.auth?.oidc?.clientId || '',
+ clientSecret: '',
+ redirectUri: data.settings?.auth?.oidc?.redirectUri || 'http://localhost:3000/auth/oidc/callback',
+ authorizationEndpoint: data.settings?.auth?.oidc?.authorizationEndpoint || '',
+ tokenEndpoint: data.settings?.auth?.oidc?.tokenEndpoint || '',
+ userinfoEndpoint: data.settings?.auth?.oidc?.userinfoEndpoint || '',
+ scopes: data.settings?.auth?.oidc?.scopes || 'openid email profile'
+ });
+
+ let isOidcViewMode = $derived(data.oidcEnvVarsConfigured);
+ let oidcConfiguredViaAppSettings = $derived(!!(data.settings?.auth?.oidc?.clientId && data.settings?.auth?.oidc?.redirectUri && data.settings?.auth?.oidc?.authorizationEndpoint && data.settings?.auth?.oidc?.tokenEndpoint));
+
+ onMount(() => {
+ if (isOidcForcedByPublicEnv) {
+ if (!$settingsStore.auth?.oidcEnabled) {
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...(current.auth || {}),
+ oidcEnabled: true
+ }
+ }));
+ }
+ if (!data.oidcEnvVarsConfigured) {
+ showOidcConfigDialog = true;
+ }
+ }
+ });
+
+ function handleOidcSwitchChange(checked: boolean) {
+ settingsStore.update((current) => ({
+ ...current,
+ auth: {
+ ...(current.auth || {}),
+ oidcEnabled: checked
+ }
+ }));
+
+ if (checked && !data.oidcEnvVarsConfigured) {
+ showOidcConfigDialog = true;
+ }
+ }
+
+ function openOidcDialog() {
+ showOidcConfigDialog = true;
+ }
+
+ async function handleSaveOidcConfig() {
+ try {
+ settingsStore.update((current) => {
+ const existingAuth = { ...(current.auth || {}) };
+ const newOidcConfig = {
+ clientId: oidcConfigForm.clientId,
+ clientSecret: oidcConfigForm.clientSecret,
+ redirectUri: oidcConfigForm.redirectUri,
+ authorizationEndpoint: oidcConfigForm.authorizationEndpoint,
+ tokenEndpoint: oidcConfigForm.tokenEndpoint,
+ userinfoEndpoint: oidcConfigForm.userinfoEndpoint,
+ scopes: oidcConfigForm.scopes
+ };
+
+ return {
+ ...current,
+ auth: {
+ ...existingAuth,
+ oidcEnabled: true,
+ oidc: newOidcConfig
+ }
+ };
+ });
+
+ await saveSettingsToServer();
+
+ toast.success('OIDC configuration saved successfully.');
+ showOidcConfigDialog = false;
+ } catch (error) {
+ console.error('Failed to save OIDC configuration:', error);
+ toast.error('Failed to save OIDC configuration.', {
+ description: error instanceof Error ? error.message : 'An unknown error occurred.'
+ });
+ }
+ }
</script>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
@@ -29,12 +121,11 @@
<div class="space-y-0.5">
<label for="localAuthSwitch" class="text-base font-medium">Local Authentication</label>
<p class="text-sm text-muted-foreground">Username and password stored in the system</p>
- <p class="text-xs text-muted-foreground mt-1">This setting cannot be changed currently</p>
+ <p class="text-xs text-muted-foreground mt-1">This is recommended to be enabled as a fallback option if OIDC authentication is unavailable.</p>
</div>
<Switch
id="localAuthSwitch"
checked={$settingsStore.auth?.localAuthEnabled ?? true}
- disabled={true}
onCheckedChange={(checked) => {
settingsStore.update((current) => ({
...current,
@@ -46,10 +137,134 @@
}}
/>
</div>
+ <div class="flex items-center justify-between rounded-lg border p-4 bg-muted/30">
+ <div class="space-y-0.5">
+ <label for="oidcAuthSwitch" class="text-base font-medium">OIDC Authentication</label>
+ <p class="text-sm text-muted-foreground">
+ Use an External OIDC Provider
+ {#if isOidcForcedByPublicEnv}
+ <span class="text-xs text-muted-foreground">(Forced ON by environment)</span>
+ {/if}
+ </p>
+ {#if isOidcForcedByPublicEnv || $settingsStore.auth?.oidcEnabled}
+ {#if isOidcForcedByPublicEnv && !data.oidcEnvVarsConfigured}
+ <Button variant="link" class="p-0 h-auto text-xs text-destructive hover:underline" onclick={openOidcDialog}>
+ <AlertTriangle class="h-3 w-3 mr-1" />
+ OIDC is forced ON, but critical server settings are missing. Click for details.
+ </Button>
+ {:else if data.oidcEnvVarsConfigured}
+ <Button variant="link" class="p-0 h-auto text-xs text-sky-600 hover:underline" onclick={openOidcDialog}>
+ <Info class="h-3 w-3 mr-1" />
+ OIDC is configured on server. View Status.
+ </Button>
+ {:else if oidcConfiguredViaAppSettings}
+ <Button variant="link" class="p-0 h-auto text-xs text-sky-600 hover:underline" onclick={openOidcDialog}>
+ <Info class="h-3 w-3 mr-1" />
+ OIDC configured via application settings. Click to Manage Them.
+ </Button>
+ {:else if !showOidcConfigDialog}
+ <!-- This case: Not forced by public env, store has it enabled, but neither server vars nor app settings are fully configured -->
+ <Button variant="link" class="p-0 h-auto text-xs text-destructive hover:underline" onclick={openOidcDialog}>
+ <AlertTriangle class="h-3 w-3 mr-1" />
+ OIDC application settings not configured. Click to configure.
+ </Button>
+ {/if}
+ {/if}
+ </div>
+ <Switch id="oidcAuthSwitch" checked={isOidcForcedByPublicEnv || ($settingsStore.auth?.oidcEnabled ?? false)} disabled={isOidcForcedByPublicEnv} onCheckedChange={handleOidcSwitchChange} />
+ </div>
</div>
</Card.Content>
</Card.Root>
+ <!-- OIDC Configuration/Status Dialog -->
+ <Dialog.Root bind:open={showOidcConfigDialog}>
+ <Dialog.Content class="sm:max-w-[600px]">
+ <Dialog.Header>
+ <Dialog.Title
+ >{#if isOidcViewMode}OIDC Configuration Status{:else}Configure OIDC Provider{/if}</Dialog.Title
+ >
+ <Dialog.Description>
+ {#if isOidcViewMode}
+ OIDC authentication is configured using server-side environment variables.
+ {#if $settingsStore.auth?.oidcEnabled}
+ It is currently active.
+ {:else if isOidcForcedByPublicEnv}
+ It is forced ON by environment variables but may require application settings to be saved if this is the first run.
+ {:else}
+ It is configured but currently disabled in application settings. You can enable it using the switch.
+ {/if}
+ <p class="mt-2">The following OIDC settings are loaded from the server environment:</p>
+ <ul class="list-disc list-inside mt-1 text-xs space-y-1">
+ {#if data.settings?.auth?.oidc}
+ <li><strong>Client ID:</strong> {data.settings.auth.oidc.clientId}</li>
+ <li><strong>Client Secret:</strong> <span class="italic text-muted-foreground">(Sensitive - Not Displayed)</span></li>
+ <li><strong>Redirect URI:</strong> {data.settings.auth.oidc.redirectUri}</li>
+ <li><strong>Authorization Endpoint:</strong> {data.settings.auth.oidc.authorizationEndpoint}</li>
+ <li><strong>Token Endpoint:</strong> {data.settings.auth.oidc.tokenEndpoint}</li>
+ <li><strong>User Info Endpoint:</strong> {data.settings.auth.oidc.userinfoEndpoint}</li>
+ <li><strong>Scopes:</strong> {data.settings.auth.oidc.scopes}</li>
+ {:else}
+ <li><span class="text-destructive">OIDC configuration details not found in settings.</span></li>
+ {/if}
+ </ul>
+ <p class="mt-2 text-xs">Changes to these settings must be made in your server's environment configuration.</p>
+ {:else}
+ Configure the OIDC settings for your application. These settings will be saved and used for OIDC authentication.
+ {#if isOidcForcedByPublicEnv && !data.oidcEnvVarsConfigured}
+ <br />
+ <strong class="text-orange-600 text-xs mt-1 block">OIDC usage is currently forced ON by <code>PUBLIC_OIDC_ENABLED</code>, but critical server-side OIDC environment variables appear to be missing. Please configure them below and save, or ensure the corresponding server environment variables are set.</strong>
+ {:else if isOidcForcedByPublicEnv}
+ <br />
+ <strong class="text-orange-600 text-xs mt-1 block">OIDC usage is currently forced ON by <code>PUBLIC_OIDC_ENABLED</code>.</strong>
+ {/if}
+ {/if}
+ </Dialog.Description>
+ </Dialog.Header>
+
+ {#if !isOidcViewMode}
+ <!-- Form for setup/configuration -->
+ <div class="grid gap-4 py-4 max-h-[50vh] overflow-y-auto pr-2">
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="oidcClientId" class="text-right col-span-1">Client ID</Label>
+ <Input id="oidcClientId" bind:value={oidcConfigForm.clientId} class="col-span-3" placeholder="Provided by your OIDC Provider" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="oidcClientSecret" class="text-right col-span-1">Client Secret</Label>
+ <Input id="oidcClientSecret" type="password" bind:value={oidcConfigForm.clientSecret} class="col-span-3" placeholder="Provided by your OIDC Provider" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="oidcRedirectUri" class="text-right col-span-1">Redirect URI</Label>
+ <Input id="oidcRedirectUri" bind:value={oidcConfigForm.redirectUri} placeholder="e.g., http://localhost:3000/auth/oidc/callback" class="col-span-3" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="oidcAuthEndpoint" class="text-right col-span-1">Authorization URL</Label>
+ <Input id="oidcAuthEndpoint" bind:value={oidcConfigForm.authorizationEndpoint} class="col-span-3" placeholder="OIDC Provider's Authorization Endpoint" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="oidcTokenEndpoint" class="text-right col-span-1">Token URL</Label>
+ <Input id="oidcTokenEndpoint" bind:value={oidcConfigForm.tokenEndpoint} class="col-span-3" placeholder="OIDC Provider's Token Endpoint" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="oidcUserinfoEndpoint" class="text-right col-span-1">User Info URL</Label>
+ <Input id="oidcUserinfoEndpoint" bind:value={oidcConfigForm.userinfoEndpoint} class="col-span-3" placeholder="OIDC Provider's UserInfo Endpoint" />
+ </div>
+ <div class="grid grid-cols-4 items-center gap-4">
+ <Label for="oidcScopes" class="text-right col-span-1">Scopes</Label>
+ <Input id="oidcScopes" bind:value={oidcConfigForm.scopes} placeholder="e.g., openid email profile" class="col-span-3" />
+ </div>
+ </div>
+ {/if}
+
+ <Dialog.Footer>
+ <Button variant="outline" onclick={() => (showOidcConfigDialog = false)}>Close</Button>
+ {#if !isOidcViewMode}
+ <Button onclick={handleSaveOidcConfig}>Save Configuration</Button>
+ {/if}
+ </Dialog.Footer>
+ </Dialog.Content>
+ </Dialog.Root>
+
<div class="space-y-6">
<Card.Root class="border shadow-sm">
<Card.Header class="pb-3">
diff --git a/src/routes/settings/tabs/user-management.svelte b/src/routes/settings/tabs/user-management.svelte
index a2a727f44..d196b2d83 100644
--- a/src/routes/settings/tabs/user-management.svelte
+++ b/src/routes/settings/tabs/user-management.svelte
@@ -120,6 +120,7 @@
{ accessorKey: 'user', header: 'User' },
{ accessorKey: 'email', header: 'Email' },
{ accessorKey: 'roles', header: 'Roles' },
+ { accessorKey: 'source', header: 'Source', enableSorting: false },
{ accessorKey: 'actions', header: ' ' }
]}
features={{
@@ -148,7 +149,6 @@
</Table.Cell>
<Table.Cell>
<div class="flex items-center gap-1.5">
- <Mail class="h-3.5 w-3.5 text-muted-foreground" />
{item.email}
</div>
</Table.Cell>
@@ -160,6 +160,9 @@
{/each}
</div>
</Table.Cell>
+ <Table.Cell>
+ <StatusBadge text={item.oidcSubjectId ? 'OIDC' : 'Local'} variant={item.oidcSubjectId ? 'blue' : 'purple'} />
+ </Table.Cell>
<Table.Cell>
<DropdownMenu.Root>
<DropdownMenu.Trigger>
@@ -170,10 +173,12 @@
</DropdownMenu.Trigger>
<DropdownMenu.Content align="end">
<DropdownMenu.Group>
- <DropdownMenu.Item onclick={() => openEditUserDialog(item)}>
- <Pencil class="h-4 w-4" />
- Edit
- </DropdownMenu.Item>
+ {#if !item.oidcSubjectId}
+ <DropdownMenu.Item onclick={() => openEditUserDialog(item)}>
+ <Pencil class="h-4 w-4" />
+ Edit
+ </DropdownMenu.Item>
+ {/if}
<DropdownMenu.Item class="text-red-500 focus:!text-red-700" onclick={() => handleRemoveUser(item.id)}>
<UserX class="h-4 w-4" />
Remove User