@passflow/core 0.40.0 → 0.41.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.
package/README.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## Changelog
4
4
 
5
+ ### Version 0.41.0
6
+
7
+ - Added: `logOut({ postLogoutRedirectUri })` also sends the address as `post_logout_redirect_uri`
8
+ in the `POST /user/logout` body; without the option the body is unchanged. When the answer
9
+ carries `saml_logout_url`, the server sends the browser back there after the identity provider's
10
+ single logout instead of Passflow's signed-out page. The server checks it as `/oidc/end_session`
11
+ does and ignores an address that is not a registered redirect URL. Its use for the hosted
12
+ `/oidc/end_session` visit is unchanged. Needs Passflow server v0.137.1 or later; older servers
13
+ ignore it.
14
+
5
15
  ### Version 0.40.0
6
16
 
7
17
  - Added: `login_hint` on `PassflowFederatedAuthPayload`, the email the user typed. The federated
@@ -492,7 +502,9 @@ await passflow.logOut({ postLogoutRedirectUri: "https://app.example.com/signed-o
492
502
 
493
503
  A session from a SAML connection can also end at the identity provider: `logOut()` resolves with
494
504
  `{ samlLogoutUrl }` when the server returns one, and `logOut({ followSamlLogout: true })` goes there.
495
- See [docs/enterprise-sso.md](docs/enterprise-sso.md#single-logout-saml).
505
+ With `postLogoutRedirectUri` set, the logout request carries it too, and the identity provider's
506
+ logout then returns the browser there instead of Passflow's signed-out page (Passflow server
507
+ v0.137.1 or later; older servers ignore it). See [docs/enterprise-sso.md](docs/enterprise-sso.md#single-logout-saml).
496
508
 
497
509
  ### Quick Passwordless Authentication
498
510