Go to: Communities >> Set Up >> Social Login
Turn 'On' the option for Facebook integration, LinkedIn Integration or Google Integration and click on the Save Settings button. On the community portal users will be able to sign up / login using their Facebook, Google or LinkedIn account.
On the portal users can click on the Facebook, Google or LinkedIn button and log in using their social account.