andrelohmann-silverstripe / bootstrap_social_connect
Silverstripe Connect/Login Buttons for Facebook, Twitter and Google
Installs: 201
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:silverstripe-module
Requires
- php: >=5.3.2
- composer/installers: *
This package is auto-updated.
Last update: 2024-10-29 04:20:04 UTC
README
Maintainers
- Andre Lohmann (Nickname: andrelohmann)
Requirements
Silverstripe 3.2.x
Introduction
Social Login/Connect with Twitter, Facebook and Google
Usage
Set AppID Parameters like in _config.php
The signup methods on FacebookController, TwotterController and GoogleController are just examples. Write your own Signup Method (with your specific form and parameters) and set the pathes.
Create Apps
- go to https://developers.facebook.com/apps/ and create a new app
- set the correct URL
- fetch API Key and API Secret and set inside your _ss_environment.php
- go to https://console.developers.google.com/project and create a new Project
- enter the new project and go to APIs
- remove every API except (or add) Google+ API
- go to credentials/Zugangsdaten and add an OAuth Client ID
- go to https://instagram.com/developer/ and register your application (Manage Clients)
- set the correct URL
- fetch API Key and API Secret and set inside your _ss_environment.php
- go to https://apps.twitter.com/ and create a new application
- set all necessary URLs and save
- go to settings and check "Allow this application to be used to Sign in with Twitter"
- copy all credentials
Sources
used following sources for implementation
Facebook Login
https://developers.facebook.com/docs/facebook-login/login-flow-for-web-no-jssdk/
Google Login
https://developers.google.com/+/web/signin/server-side-flow https://developers.google.com/accounts/docs/OAuth2WebServer
Twitter login
https://dev.twitter.com/docs/auth/implementing-sign-twitter https://dev.twitter.com/docs/auth/oauth
https://github.com/abraham/twitteroauth
Notice
This repository uses the git flow paradigm. After each release cycle, do not forget to push tags, master and develop to the remote origin
git push --tags
git push origin develop
git push origin master