https://github.com/tarabyte/loopback-component-social-login
Loopback component implementing social login for loopback API server
https://github.com/tarabyte/loopback-component-social-login
auth loopback loopback-component passport social-login
Last synced: 11 months ago
JSON representation
Loopback component implementing social login for loopback API server
- Host: GitHub
- URL: https://github.com/tarabyte/loopback-component-social-login
- Owner: Tarabyte
- License: mit
- Created: 2018-11-01T05:26:58.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-19T17:24:32.000Z (about 7 years ago)
- Last Synced: 2025-01-10T01:27:43.407Z (about 1 year ago)
- Topics: auth, loopback, loopback-component, passport, social-login
- Language: JavaScript
- Size: 174 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# loopback-component-social-login
Loopback component implementing social login for loopback API server
## Motivation
I want it to be a simple drop-in component that
- Allows to extend `Users` collection with custom login/connect methods (for example `Users.loginWithFacebook` or `Users.connectTwitterAccount`) via boot scripts.
- Is highly reusable and extendable.
- Is API centric. No sessions by default.
- Does not require me to manually define additional models, setup relations, write custom config files, add middlewares and such.
- Has minimal API that assumes user if familiar with `passportjs` and knows how to setup passport js strategies.
- Prefers code over configs.
- Could be easily switched off via `component-config.json`.
- Targets modern node versions >= 8.
- Has clear concise implementation.