diff --git a/docs/guides/cookie-banner.png b/docs/guides/cookie-banner.png index f7fea1a1ef..7b563ee2c4 100644 Binary files a/docs/guides/cookie-banner.png and b/docs/guides/cookie-banner.png differ diff --git a/docs/guides/cookie-consent.md b/docs/guides/cookie-consent.md index df733bd108..cbf977e92b 100644 --- a/docs/guides/cookie-consent.md +++ b/docs/guides/cookie-consent.md @@ -33,7 +33,15 @@ cookieConsentOptions: { description: 'cookie.consent.option.tracking.description', }, }, - allowedCookies: ['apiToken', 'cookieConsent', 'preferredLocale'], + allowedCookies: [ + 'apiToken', + 'cookieConsent', + 'preferredLocale', + 'punchout_SID', + 'punchout_BasketID', + 'punchout_ReturnURL', + 'punchout_HookURL', + ], }, ``` @@ -100,11 +108,15 @@ This route can be linked to from anywhere within the application. ## PWA Required Cookies -| Name | Expiration | Provider | Description | Category | -| --------------- | ---------- | ------------- | ----------------------------------------------------------------- | ----------- | -| apiToken | 1 year | Intershop PWA | The API token used by the Intershop Commerce Management REST API. | First Party | -| cookieConsent | 1 year | Intershop PWA | Saves the user's cookie consent settings. | First Party | -| preferredLocale | 1 year | Intershop PWA | Saves the user's language selection. | First Party | +| Name | Expiration | Provider | Description | Category | +| ------------------ | ---------- | ------------- | ----------------------------------------------------------------- | ----------- | +| apiToken | 1 hour | Intershop PWA | The API token used by the Intershop Commerce Management REST API. | First Party | +| cookieConsent | 1 year | Intershop PWA | Saves the user's cookie consent settings. | First Party | +| preferredLocale | 1 year | Intershop PWA | Saves the user's language selection. | First Party | +| punchout_SID | Session | Intershop PWA | Saves punchout session related data - Session ID. | First Party | +| punchout_BasketID | Session | Intershop PWA | Saves punchout session related data - Basket ID. | First Party | +| punchout_ReturnURL | Session | Intershop PWA | Saves punchout session related data - Return URL. | First Party | +| punchout_HookURL | Session | Intershop PWA | Saves punchout session related data - Hook URL. | First Party | ## Disabling the Integrated Cookie Consent Handling diff --git a/docs/guides/cookie-preferences.png b/docs/guides/cookie-preferences.png index 5a314997cb..e76b673e92 100644 Binary files a/docs/guides/cookie-preferences.png and b/docs/guides/cookie-preferences.png differ diff --git a/src/environments/environment.model.ts b/src/environments/environment.model.ts index cefe710451..cc79a52360 100644 --- a/src/environments/environment.model.ts +++ b/src/environments/environment.model.ts @@ -195,7 +195,15 @@ export const ENVIRONMENT_DEFAULTS: Omit = { description: 'cookie.consent.option.tracking.description', }, }, - allowedCookies: ['apiToken', 'cookieConsent', 'preferredLocale'], + allowedCookies: [ + 'apiToken', + 'cookieConsent', + 'preferredLocale', + 'punchout_SID', + 'punchout_BasketID', + 'punchout_ReturnURL', + 'punchout_HookURL', + ], }, cookieConsentVersion: 1,