NuxtN
Nuxt9mo ago
4 replies
Prestgg

I want to deploy my project on Nuxthub

auth: {
isEnabled: true,
originEnvKey: "NUXT_AUTH_ORIGIN",
baseURL: process.env.NUXT_BASE_URL,
provider: {
type: "authjs",
addDefaultCallbackUrl: true,
},
},
runtimeConfig: {
public: {
authOrigin: process.env.NUXT_AUTH_ORIGIN,
},
}, And my env file NUXT_AUTH_ORIGIN0=https://aze-script-prestgg1.nuxt.dev
NUXT_BASE_URL=https://aze-script-prestgg1.nuxt.dev
But I have an error [10:23:52] ERROR Failed to publish your Function. Got error: Uncaught Error: AUTH_NO_ORIGIN: No origin - this is an error in production, see https://sidebase.io/nuxt-auth/resources/errors. You can ignore this during development
at chunks/nitro/nitro.mjs:1:89639 in getServerBaseUrl
at chunks/nitro/nitro.mjs:13:91796 in Si
Was this page helpful?