Hey @juju20ac,
Custom databases are only available for username/password connections. The same technique does not work for social, enterprise or passwordless connections.
Why do you need those profiles to be stored in your database? If we know your use case, more people might be able to help you out and point you in the right direction.