@better-auth/sso 1.4.0-beta.23 → 1.4.0-beta.24

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @better-auth/sso@1.4.0-beta.23 build /home/runner/work/better-auth/better-auth/packages/sso
2
+ > @better-auth/sso@1.4.0-beta.24 build /home/runner/work/better-auth/better-auth/packages/sso
3
3
  > tsdown
4
4
 
5
5
  ℹ tsdown v0.16.5 powered by rolldown v1.0.0-beta.50
@@ -7,10 +7,10 @@
7
7
  ℹ entry: src/index.ts, src/client.ts
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
10
- ℹ dist/index.mjs 57.77 kB │ gzip: 10.35 kB
10
+ ℹ dist/index.mjs 57.85 kB │ gzip: 10.36 kB
11
11
  ℹ dist/client.mjs  0.15 kB │ gzip: 0.14 kB
12
- ℹ dist/client.d.mts  0.49 kB │ gzip: 0.30 kB
12
+ ℹ dist/client.d.mts  0.49 kB │ gzip: 0.29 kB
13
13
  ℹ dist/index.d.mts  0.21 kB │ gzip: 0.15 kB
14
- ℹ dist/index-xXD__4zM.d.mts 25.36 kB │ gzip: 3.94 kB
15
- ℹ 5 files, total: 83.98 kB
16
- ✔ Build complete in 11335ms
14
+ ℹ dist/index-BdGHTkZi.d.mts 25.39 kB │ gzip: 3.95 kB
15
+ ℹ 5 files, total: 84.10 kB
16
+ ✔ Build complete in 11149ms
package/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as SSOPlugin } from "./index-xXD__4zM.mjs";
1
+ import { t as SSOPlugin } from "./index-BdGHTkZi.mjs";
2
2
 
3
3
  //#region src/client.d.ts
4
4
  interface SSOClientOptions {
@@ -797,6 +797,7 @@ declare const acsEndpoint: (options?: SSOOptions) => better_call0.StrictEndpoint
797
797
  }, z.core.$strip>;
798
798
  metadata: {
799
799
  isAction: boolean;
800
+ allowedMediaTypes: string[];
800
801
  openapi: {
801
802
  operationId: string;
802
803
  summary: string;
package/dist/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as SSOOptions, i as SAMLConfig, n as sso, o as SSOProvider, r as OIDCConfig, t as SSOPlugin } from "./index-xXD__4zM.mjs";
1
+ import { a as SSOOptions, i as SAMLConfig, n as sso, o as SSOProvider, r as OIDCConfig, t as SSOPlugin } from "./index-BdGHTkZi.mjs";
2
2
  export { OIDCConfig, SAMLConfig, SSOOptions, SSOPlugin, SSOProvider, sso };
package/dist/index.mjs CHANGED
@@ -1185,6 +1185,7 @@ const acsEndpoint = (options) => {
1185
1185
  }),
1186
1186
  metadata: {
1187
1187
  isAction: false,
1188
+ allowedMediaTypes: ["application/x-www-form-urlencoded", "application/json"],
1188
1189
  openapi: {
1189
1190
  operationId: "handleSAMLAssertionConsumerService",
1190
1191
  summary: "SAML Assertion Consumer Service",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@better-auth/sso",
3
3
  "author": "Bereket Engida",
4
- "version": "1.4.0-beta.23",
4
+ "version": "1.4.0-beta.24",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
7
7
  "homepage": "https://www.better-auth.com/docs/plugins/sso",
@@ -65,10 +65,10 @@
65
65
  "express": "^5.1.0",
66
66
  "oauth2-mock-server": "^7.2.1",
67
67
  "tsdown": "^0.16.0",
68
- "better-auth": "1.4.0-beta.23"
68
+ "better-auth": "1.4.0-beta.24"
69
69
  },
70
70
  "peerDependencies": {
71
- "better-auth": "1.4.0-beta.23"
71
+ "better-auth": "1.4.0-beta.24"
72
72
  },
73
73
  "scripts": {
74
74
  "test": "vitest",
package/src/routes/sso.ts CHANGED
@@ -1798,6 +1798,10 @@ export const acsEndpoint = (options?: SSOOptions) => {
1798
1798
  }),
1799
1799
  metadata: {
1800
1800
  isAction: false,
1801
+ allowedMediaTypes: [
1802
+ "application/x-www-form-urlencoded",
1803
+ "application/json",
1804
+ ],
1801
1805
  openapi: {
1802
1806
  operationId: "handleSAMLAssertionConsumerService",
1803
1807
  summary: "SAML Assertion Consumer Service",