File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed
packages/template-retail-react-app/app/commerce-api Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,6 @@ export const SERVER_AFFINITY_HEADER_KEY = 'sfdc_dwsid'
4848export const DEFAULT_SLAS_REFRESH_TOKEN_REGISTERED_TTL = 90 * 24 * 60 * 60
4949export const DEFAULT_SLAS_REFRESH_TOKEN_GUEST_TTL = 30 * 24 * 60 * 60
5050
51- export const SLAS_REFRESH_TOKEN_COOKIE_TTL_OVERRIDE_MSG =
52- 'You are attempting to use an invalid refresh token TTL value.'
53-
5451/**
5552 * A map of the data that this auth module stores. This maps the name of the property to
5653 * the storage type and the key when stored in that storage. You can also pass in a "callback"
Original file line number Diff line number Diff line change 77import jwtDecode from 'jwt-decode'
88import { getAppOrigin } from 'pwa-kit-react-sdk/utils/url'
99import { HTTPError } from 'pwa-kit-react-sdk/ssr/universal/errors'
10- import { refreshTokenGuestStorageKey , refreshTokenRegisteredStorageKey } from './constants'
1110import fetch from 'cross-fetch'
1211import Cookies from 'js-cookie'
13- import { SLAS_REFRESH_TOKEN_COOKIE_TTL_OVERRIDE_MSG } from './constants'
1412
1513/**
1614 * Compares the token age against the issued and expiry times. If the token's age is
You can’t perform that action at this time.
0 commit comments