I discovered these two providers and was curious about their connection. I then found out that Auth.js is the successor to NextAuth.js. Here is a quote from the official NextAuth.js website.
NextAuth.js is becoming Auth.js! 🎉 We’re creating Authentication for the Web. Everyone included. You are looking at the NextAuth.js (v4) documentation. For the new documentation go to authjs.dev.