Added
- Allow
app_launchto forward query parameters named in the new
SOCIAL_AUTH_APP_LAUNCH_FORWARDED_PARAMSsetting tosocial:begin, such as
SAMLidpor fields listed inSOCIAL_AUTH_FIELDS_STORED_IN_SESSION. The
iss,next, and CSRF token fields cannot be overridden. - Accept
app_launchnavigations from other subdomains or sites when their
Referermatches the newSOCIAL_AUTH_APP_LAUNCH_ALLOWED_ORIGINSsetting. - Both launch bridges provide a
fieldslist of name-value pairs for custom
social_django/launch.htmltemplates. Use it to render hidden fields so
a forwarded parameter nameditemscannot shadowparams.items. For automatic
submission, callHTMLFormElement.prototype.submit.call(form)to handle
forwarded fields namedsubmit.
Changed
- Support
app_launchwith backends that have no ID token issuer, such as
OAuth2 and SAML backends. These launches omitissand reject a requested
iss; invalid issuer configuration is still rejected. - Accept
app_launchnavigations withSec-Fetch-Site: none, which browsers
send for user-initiated navigations such as links opened from native apps.
Missing Fetch Metadata still requires a trustedReferer. - Partial pipelines now default to seven days independently of the email
verification lifetime. SetSOCIAL_AUTH_PARTIAL_PIPELINE_EXPIRED_THRESHOLD
to override the lifetime globally or for a specific backend.
Breaking
- Require social-auth-core 7.3.0 for partial-pipeline expiry and initiator binding.
clearsocial --ageapplies only to verification codes and nonces. Partial
cleanup follows the same expiry policy as resuming a partial, including
per-backend overrides and disabled expiry.
Security
- Preserve the original expiry time when a legacy Django partial resumes and
halts again.
Fixed
- Launch authentication for signed-in users in
app_launchso the bridge can
link accounts and reauthenticate like a login form. Applications that relied
on the redirect tonextorLOGIN_REDIRECT_URLshould check authentication
before sending users to the bridge.idp_launchstill redirects signed-in users.