Argument of type '{ secret: string | undefined; providers: (<P extends DiscordProfile>(options: OAuthUserConfig<P>) => OAuthConfig<P>)[]; callbacks: { session: (opts: { session: { ...; } & AdapterSession; user: AdapterUser; } & { ...; } & { ...; }) => { ...; }; }; skipCSRFCheck?: unique symbol | undefined; trustHost?: true | undefine...' is not assignable to parameter of type 'NextAuthConfig | ((request: NextRequest | undefined) => Awaitable<NextAuthConfig>)'.