Disable social sign up and move current records to DB sign ups

I want to disable social connections to leave only data base login. My question is how do I migrate or convert existing users who have signed up through google and facebook to a database user and conserve their user metadata?

Hey there!

Welcome in our community! Let me look at that for you and get back to you with the news soon!

Thanks, I would appreciate your kind assistance in this regard

Hey there!

Sorry I totally missed it! Terribly sorry for that. Let me do the research and get back to you today!

So there are basically two ways to achieve that.

First one - Linking Accounts

The user can signup with email/password and then link the social and the db users

Second one - export-import

You can export the users from the social connection and then import in a regular database. Then, the users will need to reset their passwords.