Download the PHP package kalypso63/social_auth without Composer
On this page you can find all versions of the php package kalypso63/social_auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kalypso63/social_auth
More information about kalypso63/social_auth
Files in kalypso63/social_auth
Package social_auth
Short Description Authentication via social auth (Facebook, Twitter, Google +, LinkedIn & Instagram)
License GPL-2.0+
Homepage http://typo3.org
Informations about the package social_auth
social_auth
Social Auth service for TYPO3 with Hybrid Auth API (Facebook, Twitter, Google + & LinkedIn)
Installation instructions
- Install the extension using the Extension Manager
- Register new app on Facebook, Twitter, Google, LinkedIn or Instagram and follow the instructions. Some examples are detailed on Hybrid auth user guide [http://hybridauth.sourceforge.net/userguide.html]
- Configure via Extension Manager and add key + appId for each social provider & set options for fe_users creation (users pid and default usergroup id are required !)
- Storage User Pid should be different from classic fe_users PID to prevent unique username
- New for 8.7 instance, set file storage uid and path for fe_users.image (FAL is used now for image field)
- Add excluded fields on update after each login. By default all fields (name,first_name,last_name,telephone,address,city,zip,country) are overwritten.
- Add the static TS (typoscript) to your typoscript template
Frontend plugin integration
Two ways exist to integrate social auth on FE
- Add Social auth plugin on your page. It create a link for each enabled providers
- Create links on your fluid template like this (add namespace viewhelper at first):
{namespace socialauth=MV\SocialAuth\ViewHelpers}
<f:link.page pageType="1316773681" additionalParams="{tx_socialauth_pi1:{provider:'facebook',redirect:'{socialauth:currentUri()}'}}" noCacheHash="TRUE">Facebook</f:link.page>
You can change redirect URL with a custom page (like profil page) using {f:uri.page()} viewhelper instead of {socialauth:currentUri()}
Bootstrap Social CSS
Bootstrap social css is used by default on every views. You can disable it via Constant editor
Integration with Felogin
If felogin is used, you can add marker ###SOCIAL_AUTH### to your custom felogin template. Typoscript for Felogin is loaded on main TS
To custom render of generated links. Modify Typoscript like this :
Signal Slots for developer
3 slots are available to extend service authentification
- beforeCreateOrUpdateUser
- getUser
- authUser
Example of slot integration (This example add birthdate and extbase_type to general fields with beforeCreateOrUpdateUser signal)
YOUR_EXTENSION/ext_localconf.php
YOUR_EXTENSION/Classes/Slots/UserAuthentificationSlot.php
Troubles after upgrade with 1.1.0 version
If we have an error like "Could not scan for classes", just uninstall extension and clear cache before upgrade it.
Google + configuration
Don't forget to activate Google+ API on [Google developer console] and fill the field Authorized redirect uri with http://yourdomain/?type=1316773682&hauth.done=Google
Facebook strict mode
If you use Strict mode on your Facbook app, fill the field Valid Oauth redirect URIS with http://yourdomain/?type=1316773682&hauth_done=Facebook
Facebook scope
By default social_auth use email scope but you can add more scopes detailled here : https://developers.facebook.com/docs/facebook-login/permissions/