-
I'm using MongoDB and ONLY Discord Auth. I see that I can pass the MongoDB connection string to the "database" argument. I suppose it will understand that it is a MongoDB connection string and use the correct method for connecting to it. But at the same time I'm instructed to use the MongoDB Adapter, which by the example code needs it's own connection string, which can be different from the one provided in the NextAuth configuration. So my question is, do I need to use the MongoDB Adapter? If I do, do I need to put my connection string in the configuration too? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I just realized that I was using v3. Changed to |
Beta Was this translation helpful? Give feedback.
I just realized that I was using v3. Changed to
4.0.0-beta.2
and now it makes more sense, as thedatabase
argument is removed.