![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@vue-storefront/commercetools
Advanced tools
nuxt.config.js
buildModules
, line before @vue-storefront/nuxt
add:['@vue-storefront/commercetools/nuxt', {
api: {
uri: 'https://api.commercetools.com/<your-api>/graphql',
authHost: 'https://auth.sphere.io',
projectKey: 'vsf-ct-dev',
clientId: '<id>',
clientSecret: '<secret>',
scopes: [
'create_anonymous_token:vsf-ct-dev',
'manage_my_orders:vsf-ct-dev',
'manage_my_profile:vsf-ct-dev',
'manage_my_shopping_lists:vsf-ct-dev',
'manage_my_payments:vsf-ct-dev',
'view_products:vsf-ct-dev',
'view_published_products:vsf-ct-dev'
]
},
locale: 'en',
currency: 'USD',
country: 'US',
acceptLanguage: ['en', 'de'],
countries: [
{ name: 'US',
label: 'United States' },
{ name: 'AT',
label: 'Austria' },
{ name: 'DE',
label: 'Germany' },
{ name: 'NL',
label: 'Netherlands' }
],
currencies: [
{ name: 'EUR',
label: 'Euro' },
{ name: 'USD',
label: 'Dollar' }
],
locales: [
{ name: 'en',
label: 'English' },
{ name: 'de',
label: 'German' }
]
}]
}]
Commercetools nuxt module injects middleware that is responsible for createing/refreshing token if needed - when user refreshes page. In some rare case, you might want to disable this middleware. If so, add disableGenerateTokenMiddleware
to the @vue-storefront/commercetools/nuxt
's options module in buildModules
:
['@vue-storefront/commercetools/nuxt', {
// ...
disableGenerateTokenMiddleware: true
// ...
}]
export const config = {
api: {
uri: 'https://mysite.com/vsf-ct-dev/graphql',
authHost: 'https://auth.com',
projectKey: 'vsf-ct-dev',
clientId: 'yourClientId',
clientSecret: 'yourClientSecret',
scopes: [
'create_anonymous_token:vsf-ct-dev',
'manage_my_orders:vsf-ct-dev',
'manage_my_profile:vsf-ct-dev',
'manage_my_shopping_lists:vsf-ct-dev',
'manage_my_payments:vsf-ct-dev',
'view_products:vsf-ct-dev',
'view_published_products:vsf-ct-dev'
]
},
locale: 'en',
acceptLanguage: ['en', 'de'],
currency: 'USD',
country: 'US',
store: 'luxury-brand',
countries: [
{ name: 'US',
label: 'United States' },
{ name: 'AT',
label: 'Austria' },
{ name: 'DE',
label: 'Germany' },
{ name: 'NL',
label: 'Netherlands' }
],
currencies: [
{ name: 'EUR',
label: 'Euro' },
{ name: 'USD',
label: 'Dollar' }
],
locales: [
{ name: 'en',
label: 'English' },
{ name: 'de',
label: 'German' }
],
cookies: {
currencyCookieName: 'vsf-currency',
countryCookieName: 'vsf-country',
localeCookieName: 'vsf-locale',
storeCookieName: 'vsf-store'
}
};
FAQs
Unknown package
We found that @vue-storefront/commercetools demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.