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: docs/content/2.essentials/2.configuration.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -230,6 +230,10 @@ Configure one or more API clients:
230
230
Client ID for customer account API requests
231
231
:::
232
232
233
+
:::field{name="clientSecret"type="string"}
234
+
Client secret for confidential clients. When set, the OAuth token exchange is authenticated with the secret instead of PKCE - server-side only, optional
235
+
:::
236
+
233
237
:::field{name="scope"type="array"}
234
238
OAuth scopes to request during authentication - default: `['openid', 'email', 'customer-account-api:full']`
235
239
:::
@@ -242,10 +246,34 @@ Configure one or more API clients:
242
246
Logout URL for customer account API authentication - default: `/_auth/customer-account/logout`
243
247
:::
244
248
249
+
:::field{name="sessionURL"type="string"}
250
+
Endpoint that exposes the current session to the client - default: `/_auth/customer-account/session`
251
+
:::
252
+
245
253
:::field{name="redirectURL"type="string"}
246
254
Redirect URL to navigate to after successful customer account API authentication - default: `/`
247
255
:::
248
256
257
+
:::field{name="logoutRedirectURL"type="string"}
258
+
Redirect URL to navigate to after logout. Must be a registered logout URI in your Shopify app - optional
259
+
:::
260
+
261
+
:::field{name="session.password"type="string"}
262
+
Password used to encrypt the session cookie (at least 32 characters). Auto-generated in development, required in production - server-side only
263
+
:::
264
+
265
+
:::field{name="session.name"type="string"}
266
+
Name of the session cookie - default: `shopify-customer-account`
267
+
:::
268
+
269
+
:::field{name="session.maxAge"type="number"}
270
+
Lifetime of the session cookie in seconds - default: `604800` (7 days)
[unstorage](https://unstorage.unjs.io) mount or driver configuration for the server-side token store. Use a persistent driver (e.g. Redis) in production - default: in-memory
275
+
:::
276
+
249
277
:::field{name="dev.tunnelURL"type="string"}
250
278
Tunnel URL for local development with ngrok or similar - optional
0 commit comments