You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用next-auth withAuth中间件时Uploadthing出现回调错误

Uploadthing 与 next-auth 中间件兼容问题
  • 未启用 next-auth 中间件时,控制台无报错
  • 无论是否启用 next-auth 中间件,文件均可成功上传至 Uploadthing,仅回调流程存在异常

控制台状态截图

未启用 next-auth 中间件

未启用next-auth中间件

启用 next-auth 中间件

启用next-auth中间件

相关资源

对应测试代码仓库:Uploadthing-test 仓库

内容的提问来源于stack exchange,提问作者Adam

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 06:32:08