File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1+ ## [ Unreleased]
2+ - Add HttpOnly session cookies for SLAS private client proxy [ #3680 ] ( https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3680 )
3+
14## v5.1.0-dev
25- Add Node 24 support. Drop Node 16 support. [ #3652 ] ( https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652 )
3- - Add HttpOnly session cookies for SLAS private client proxy [ #3680 ] ( https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3680 )
46
57## v5.0.0 (Feb 12, 2026)
68- Upgrade to commerce-sdk-isomorphic v5.0.0 and introduce Payment Instrument SCAPI integration [ #3552 ] ( https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3552 )
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ interface AuthConfig extends ApiClientConfigParams {
5454 refreshTokenRegisteredCookieTTL ?: number
5555 refreshTokenGuestCookieTTL ?: number
5656 hybridAuthEnabled ?: boolean
57- /** When true, token response may be sanitized ( tokens in HttpOnly cookies); only set non-token fields and use access_token_expires_at for expiry. */
57+ /** When true, session tokens are set as HttpOnly cookies */
5858 useHttpOnlySessionCookies ?: boolean
5959}
6060
Original file line number Diff line number Diff line change @@ -155,7 +155,6 @@ const CommerceApiProvider = (props: CommerceApiProviderProps): ReactElement => {
155155 const configLogger = logger || console
156156
157157 // When HttpOnly cookies are enabled, ensure fetch credentials allow cookies to be sent.
158- // Override 'omit' or unset to 'same-origin'; keep 'same-origin' or 'include' as-is.
159158 const effectiveFetchOptions =
160159 useHttpOnlySessionCookies &&
161160 ( ! fetchOptions ?. credentials || fetchOptions . credentials === 'omit' )
Original file line number Diff line number Diff line change 11## [ Unreleased]
2+ - Add configuration flag ` disableHttpOnlySessionCookies ` to ` ssrParameters ` [ #3635 ] ( https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3635 )
23
34## v3.17.0-dev
45- Clear verdaccio npm cache during project generation [ #3652 ] ( https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652 )
You can’t perform that action at this time.
0 commit comments