Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including ng2-social-login with all npm packages installed. Try it out:

ng2-social-login lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("ng2-social-login/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ng2-social-login v2.0.5

A light weight angular 2 , nodejs, mongo DB social login for facebook, google and linkedin.

Cuppa Angular2 OAuth

npm version

Social Login Script for Facebook, Google, LinkedIn

It is often required that, a user register's or sign up to login to a particular website or application. It is a tedious job to fill those long forms with user basic details. To avoid filling long forms, Cuppa Angular 2 OAuth provides a module to login using social OAuth services like google OAtuh, Facebook OAuth and LinkedIn OAuth. Using this your application will be able to recieve basic details of the user from social networking sites and you can store in your application environment.

Documentation | Demo.

Documentation | Demo.

Locally Build and Run

  • Clone git repository.
  • Configure auth-config.js with your mongoDB environment details and app secrets.
  • replace authServerBaseUrl in login component with your environment details.
  • Run npm start
  • Go to http://localhost:5000

NOTE: When running in local environment, make sure the redirect URL should match with the redirect URL you specified at the time of creating app with respective providers viz., Facebook, Google, LinkedIn. you can add http://localhost:5000/admin as redirectURL.

Ahh !!! Now you are ready to make your app up and running.


This project is licensed under the MIT license. See the LICENSE file for more info.


Thanks to Font Awesome the library.


Pradeep Kumar Terli

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free