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
ERROR [nitro] [uncaughtException] DiscordProvider is not a function
at <anonymous> (server\api\auth\[...].ts:7:1)
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:119:5)
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
Describe the bug
server just not launching but should be, there is my [...].ts config
import { NuxtAuthHandler } from '#auth'
import DiscordProvider from 'next-auth/providers/discord';
export default NuxtAuthHandler({
secret: useRuntimeConfig().authSecret,
providers: [
DiscordProvider({
clientId: '',
clientSecret: ''
})
],
})
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: