You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/template-retail-react-app/app/ssr.js
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -51,14 +51,15 @@ const options = {
51
51
// Set this to false if using a SLAS public client
52
52
// When setting this to true, make sure to also set the PWA_KIT_SLAS_CLIENT_SECRET
53
53
// environment variable as this endpoint will return HTTP 501 if it is not set
54
-
useSLASPrivateClient: true,
54
+
useSLASPrivateClient: false,
55
55
56
56
// If you wish to use additional SLAS endpoints that require private clients,
57
57
// customize this regex to include the additional endpoints the custom SLAS
58
58
// private client secret handler will inject an Authorization header.
59
59
// The default regex is defined in this file: https://github.com/SalesforceCommerceCloud/pwa-kit/blob/develop/packages/pwa-kit-runtime/src/ssr/server/build-remote-server.js
// Note: this feature is in Developer Preview at this time. To use One Click Checkout, enable the oneClickCheckout flag and configure private SLAS client.
77
+
// Note: this feature is in Developer Preview at this time. To use One Click Checkout,
78
+
// enable the oneClickCheckout flag and configure private SLAS client. For more details, please
0 commit comments