@better-auth/sso 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-BA_IW5w3.mjs";
|
|
2
2
|
import { APIError, addOAuthServerContext, createAuthEndpoint, createAuthMiddleware, getSessionFromCtx, sessionMiddleware } from "better-auth/api";
|
|
3
3
|
import { XMLParser, XMLValidator } from "fast-xml-parser";
|
|
4
4
|
import { X509Certificate } from "node:crypto";
|
|
@@ -3041,7 +3041,6 @@ async function processSAMLResponse(ctx, params, options) {
|
|
|
3041
3041
|
},
|
|
3042
3042
|
account: {
|
|
3043
3043
|
providerId,
|
|
3044
|
-
issuer: accountKey.issuer,
|
|
3045
3044
|
accountId: accountKey.accountId,
|
|
3046
3045
|
accessToken: "",
|
|
3047
3046
|
refreshToken: ""
|
|
@@ -3991,7 +3990,6 @@ async function handleOIDCCallback(ctx, options, providerId, stateData, parsedPro
|
|
|
3991
3990
|
idToken: tokenResponse.idToken,
|
|
3992
3991
|
accessToken: tokenResponse.accessToken,
|
|
3993
3992
|
refreshToken: tokenResponse.refreshToken,
|
|
3994
|
-
issuer: accountKey.issuer,
|
|
3995
3993
|
accountId: userInfoId,
|
|
3996
3994
|
providerId: provider.providerId,
|
|
3997
3995
|
accessTokenExpiresAt: tokenResponse.accessTokenExpiresAt,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/sso",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "SSO plugin for Better Auth",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@xmldom/xmldom": "^0.9.
|
|
59
|
+
"@xmldom/xmldom": "^0.9.12",
|
|
60
60
|
"fast-xml-parser": "^5.8.0",
|
|
61
61
|
"jose": "^6.2.3",
|
|
62
62
|
"samlify": "^2.13.1",
|
|
63
63
|
"tldts": "^7.4.3",
|
|
64
|
-
"zod": "^4.
|
|
64
|
+
"zod": "^4.5.4"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@types/body-parser": "^1.19.6",
|
|
@@ -72,16 +72,16 @@
|
|
|
72
72
|
"kysely": "^0.28.17 || ^0.29.0",
|
|
73
73
|
"oauth2-mock-server": "^9.0.0",
|
|
74
74
|
"tsdown": "0.21.10",
|
|
75
|
-
"@better-auth/core": "1.7.
|
|
76
|
-
"@better-auth/kysely-adapter": "1.7.
|
|
77
|
-
"better-auth": "1.7.
|
|
75
|
+
"@better-auth/core": "1.7.3",
|
|
76
|
+
"@better-auth/kysely-adapter": "1.7.3",
|
|
77
|
+
"better-auth": "1.7.3"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@better-auth/utils": "0.4.2",
|
|
81
81
|
"@better-fetch/fetch": "1.3.1",
|
|
82
82
|
"better-call": "1.4.0",
|
|
83
|
-
"better-auth": "^1.7.
|
|
84
|
-
"
|
|
83
|
+
"@better-auth/core": "^1.7.3",
|
|
84
|
+
"better-auth": "^1.7.3"
|
|
85
85
|
},
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "tsdown",
|