better_auth-sso 0.1.0 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e81ff737c06a26911ded4e339bc7195336d90076dbb52fce4394c346102aee7
4
- data.tar.gz: 2b392bfba1385acd9a39a36421f6deed5a6ee92f986b8fadaa44204b08caf842
3
+ metadata.gz: bcacfff0297f46fdb059e52b7e19de70697c39cfbcb188e0c36a10631b6208d5
4
+ data.tar.gz: f3a150f3b5a9f547bdf4edabf15d4f48321b5e50a20283c82011fd67bc154ece
5
5
  SHA512:
6
- metadata.gz: 27461feafa4ef8fc32a3152b3335214ca7eedfe3ad3b19cffcd54731f484c08f5ba493fa9e823ff5ca737f9557ef646a4b055480ac746f8227581a6539126dac
7
- data.tar.gz: a35620aa65758a5a74e0ef4efb8a2a8937a71e4774d48add776c5a883cc8a1710b253bb8e22f3d4fba98f1309793571b576106a2d8db35ed8fc621ac8c0fdfa2
6
+ metadata.gz: 603b6c5b7a6141457f5ba8046a44bad630ec37ef2232707acc8d9dcfc92b4fd0a88c48e5db7e4c6fd9e4c73a6d60e58b8857a2f39e6ceae126a77d0d5af6bf72
7
+ data.tar.gz: d2aff34cd79bb9b9d072933f5f33fc30ee31fe7a0ac5f651c433916c9001dbf0fee9539e6714bbab5bf24af9d5b1ff153929bb47346d6700b0675c4428825324
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0 - 2026-04-29
4
+
5
+ - Improved SSO upstream parity for OIDC and SAML provider flows, organization handling, callback behavior, metadata parsing, account linking, and response/error shapes.
6
+ - Expanded SSO documentation and coverage for SAML, OIDC, and ruby-saml integration paths.
7
+
3
8
  ## 0.1.0
4
9
 
5
10
  - Initial package skeleton for Better Auth SSO.
data/README.md CHANGED
@@ -32,4 +32,14 @@ BetterAuth.auth(
32
32
  )
33
33
  ```
34
34
 
35
+ ## SAML Single Logout
36
+
37
+ SAML SLO follows upstream route shapes when `saml.enableSingleLogout` is enabled:
38
+
39
+ - `POST /sso/saml2/logout/:providerId` starts SP-initiated logout for the current session.
40
+ - `GET|POST /sso/saml2/sp/slo/:providerId` handles IdP LogoutRequest and LogoutResponse payloads.
41
+ - ACS stores SAML `NameID` and `SessionIndex` lookup records so IdP-initiated logout can revoke the matching Better Auth session.
42
+
43
+ Ruby keeps the lightweight JSON/base64 fallback used by the local SAML test adapter, and real XML deployments should configure `BetterAuth::SSO::SAML.sso_options` or compatible SAML hooks.
44
+
35
45
  SCIM is a separate provisioning feature and lives in `better_auth-scim`.