better_auth-sso 0.1.0 → 0.5.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: ebd55984df929b46f41984bb799d40ae89018e02189619a60485316d6c1943b4
4
+ data.tar.gz: e5f7aa9680058c33c2413f08385fcf73ab3c10ece70c06e999dda40a24676366
5
5
  SHA512:
6
- metadata.gz: 27461feafa4ef8fc32a3152b3335214ca7eedfe3ad3b19cffcd54731f484c08f5ba493fa9e823ff5ca737f9557ef646a4b055480ac746f8227581a6539126dac
7
- data.tar.gz: a35620aa65758a5a74e0ef4efb8a2a8937a71e4774d48add776c5a883cc8a1710b253bb8e22f3d4fba98f1309793571b576106a2d8db35ed8fc621ac8c0fdfa2
6
+ metadata.gz: 6cad2fc9ab83b28280f93f2d2a521ec9dcc12854f0000f5797674fdcdae285f28d7435bc6dbaee92bb9e1f47bf6573ba3e527bf87e3e5a221cf5578eab1f245a
7
+ data.tar.gz: 7f4b8739cac30c78ba7eaffd7e097037d6c062a92ef777f98eee039072f9efa2b098b3b2f35d81c8bda04646ce220d9566c0e5709988bb59c823980ac5d7f435
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`.