@@ -170,7 +170,7 @@ Configure one or more API clients:
170170 Use mock.shop instead of your actual store - default: ` false `
171171 :::
172172
173- ::: field { name =" proxy " type =" boolean | string " }
173+ ::: field { name =" proxy " type =" boolean | object " }
174174 Proxy all client-side requests through Nitro. Use ` true ` for default path or provide custom path - default: ` true `
175175 :::
176176
@@ -230,7 +230,23 @@ Configure one or more API clients:
230230 Client ID for customer account API requests
231231 :::
232232
233- ::: field { name =" proxy " type =" boolean | string " }
233+ ::: field { name =" scope " type =" array " }
234+ OAuth scopes to request during authentication - default: ` ['openid', 'email', 'customer-account-api:full'] `
235+ :::
236+
237+ ::: field { name =" loginURL " type =" string " }
238+ Login URL for customer account API authentication - default: ` /_auth/customer-account/callback `
239+ :::
240+
241+ ::: field { name =" logoutURL " type =" string " }
242+ Logout URL for customer account API authentication - default: ` /_auth/customer-account/logout `
243+ :::
244+
245+ ::: field { name =" redirectURL " type =" string " }
246+ Redirect URL for customer account API authentication
247+ :::
248+
249+ ::: field { name =" proxy " type =" boolean | object " }
234250 Proxy all client-side requests through Nitro. Use ` true ` for default path or provide custom path - default: ` true `
235251 :::
236252
@@ -369,7 +385,9 @@ export default defineNuxtConfig({
369385 publicAccessToken: " YOUR_PUBLIC_ACCESS_TOKEN" ,
370386 privateAccessToken: " YOUR_PRIVATE_ACCESS_TOKEN" ,
371387 mock: false ,
372- proxy: true ,
388+ proxy: {
389+ path: " /_proxy/storefront" ,
390+ },
373391 sandbox: true ,
374392 autoImport: true ,
375393 codegen: {
@@ -398,7 +416,12 @@ export default defineNuxtConfig({
398416 customerAccount: {
399417 apiVersion: " 2026-01" ,
400418 clientId: " YOUR_CLIENT_ID" ,
401- proxy: true ,
419+ scope: [" openid" , " email" , " customer-account-api:full" ],
420+ loginURL: " /_auth/customer-account/callback" ,
421+ logoutURL: " /_auth/customer-account/logout" ,
422+ proxy: {
423+ path: " /_proxy/customer-account" ,
424+ },
402425 sandbox: true ,
403426 autoImport: true ,
404427 codegen: {
@@ -418,7 +441,9 @@ export default defineNuxtConfig({
418441 clientSecret: " YOUR_ADMIN_CLIENT_SECRET" ,
419442 accessToken: " YOUR_ADMIN_ACCESS_TOKEN" ,
420443 refreshToken: " YOUR_ADMIN_REFRESH_TOKEN" ,
421- tokenStorage: true ,
444+ tokenStorage: {
445+ driver: " memory"
446+ },
422447 sandbox: true ,
423448 autoImport: false ,
424449 codegen: {
0 commit comments