![](/img/trans.png)
[英]In production, calling in next-auth function Signout(), with or without callbackUrl, always brings the user to "localhost:3000"
我將我的 Next.js 應用程序部署到 AWS Amplify,正確設置了我的環境變量(包括 APP_URL 和 NEXTAUTH_URL,順便說一句,它們是相同的),盡管事實上我可以使用憑據(來自 MongoDB Atlas)登錄,但當我單擊注銷按鈕時我被重定向到 localhost:3000 ...