simple npm package to display social login buttons using Angular.
Signin with Google, Linkedin, Facebook \
- 👉 demo
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.
to install the npm package via
-
npm
npm install --save angular-social-login-buttons -
yarn
yarn add angular-social-login-buttons
add in top of the body tag in index.html the facebook sdk and google sdk
in app.module.ts
import the AngularSocialLoginButtonsModule module and provide your clientId for the google
or linkedin
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>
here is an the repo of the demo using the angular-social-login-buttons package repo
I welcome issues and pull requests on pr