Skip to content

Social Login buttons npm package for Angular and React apps. Easily signin with facebook, google and linkedin

Notifications You must be signed in to change notification settings

miminerd/ngSocialBtnLogin

Repository files navigation

Angular social login buttons

simple npm package to display social login buttons using Angular.
Signin with Google, Linkedin, Facebook \

Features

The project contains 2 parts:

  • in the projects folder: the actual npm package (where the library is developed)
  • the other is a regular angular project using the npm package, you can check it.

Install

to install the npm package via

  • npm
    npm install --save angular-social-login-buttons

  • yarn
    yarn add angular-social-login-buttons

Import

add in top of the body tag in index.html the facebook sdk and google sdk Alt text

in app.module.ts

import the AngularSocialLoginButtonsModule module and provide your clientId for the google
or linkedin

Alt text

Usage

to use the facebook Signin button add in your html file
<lib-fb-login></lib-fb-login>
to use the google Signin button add in your html file
<lib-google-login></lib-google-login>
to use the linkedin Signin button add in your html file
<lib-linkedin-login></lib-linkedin-login>

Example

here is an the repo of the demo using the angular-social-login-buttons package repo

Contribution

I welcome issues and pull requests on pr

Author👩🏻‍💻

Juda Buchahda

About

Social Login buttons npm package for Angular and React apps. Easily signin with facebook, google and linkedin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published