Modifying Next Auth in T3 App

I've recently launched a T3 app and some users are having trouble authenticating through the Email provider/Magic Link when using a corporate email address and Microsoft Outlook. I've searched online and the docs and come across this fix: https://authjs.dev/guides/corporate-proxies/avoid-corporate-link-checking-email-provider I'm struggling with how to implement this into the T3 app. Any ideas? import type { NextApiRequest, NextApiResponse } from "next" import NextAuth from "next-auth" export default async function auth(req: NextApiRequest, res: NextApiResponse) { if(req.method === "HEAD") { return res.status(200) } ... }
Corporate email sign up | Auth.js
If you use Office 365 or Outlook, or potentially other Email systems, you may notice your Email invitation Links not working.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server