What happened to the login function?

I am really confused. I could have sworn at some point there was just a login function to log a user in using MetaMask. But when I look at the documentation, doing authentication with NextJS and MetaMask requires this whole crazy codebase here. Why is this the case? Also, I am just trying to create an app in the dashboard like I used to be able to but there is no way to create one. I want authentication with Metamask to create a user in my table. But I can’t even make a database. Will this next-auth method do that for me? Thank you.

You are probably looking for moralis-v1 docs. With 2.0, you will need to set up your own backend.

To create a server, you can use this link (and enable the toggle). But hosted servers will be stopped soon, so you would need to eventually self host.

Do you still provide database services?

Yes the server/database (Parse/MongoDB) comes with the Moralis server or dapp.

Can you tell me how to set that up? Is there documentation to do that? I don’t see any.

I’m not sure what you mean - you can follow this tutorial and then you can access your hosted server/database through your Moralis admin interface (in server settings).

I guess I’m just wondering how to do this in Moralis v2. My project has authentication set up with Moralis v2, but right now the authentication doesn’t really do anything because I have no database with User security like before. Will using the link you sent me work with the v2 authentication?

If you self host a Moralis server, it will use Auth API. Otherwise you will need to set up your own backend for v2.

There are some tutorials for integrating with providers e.g. Supabase that you can look at if you’re not sure where to start.