Skip to content

Commit f790a66

Browse files
authored
chore: update nuxt config for druxt-auth update
1 parent 9c50f7b commit f790a66

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nuxt/nuxt.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default {
3232

3333
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
3434
buildModules: [
35-
'druxt-auth',
35+
['druxt-auth', { clientId: process.env.OAUTH_CLIENT_ID }],
3636
'druxt-site'
3737
],
3838

@@ -42,8 +42,6 @@ export default {
4242
// DruxtJS: https://druxtjs.org
4343
druxt: {
4444
baseUrl,
45-
// Enable OAuth2 authentication.
46-
auth: { clientId: process.env.OAUTH_CLIENT_ID },
4745
// Disable deprecated Entity fields.
4846
entity: { components: { fields: false }},
4947
// Set the default theme to render Site regions.

0 commit comments

Comments
 (0)