DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Social Login to TYPO3

Created:2010-02-18T17:33:18
Changed by:Ron Schöllmann
Changed:2011-12-12T21:08:53
Classification:sociallogin2t3
Description:The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ----
Keywords:facebook, twitter, linkedin, hyves, oauth, fe_users, login, import, users, forAdmins, forBeginners
Author:Ron Schoellmann (NetSinn), Joost van Berckel
Email:ron@netsinn.de, joost@berckel.nl
Info 4:
Language:en

img-1 img-2 EXT: Social Login to TYPO3 - sociallogin2t3

EXT: Social Login to TYPO3

Extension Key: sociallogin2t3

Language: en

Keywords: facebook, twitter, linkedin, hyves, oauth, fe_users, login, import, users, forAdmins, forBeginners

Copyright 2000-2010, Ron Schoellmann (NetSinn), Joost van Berckel, <ron@netsinn.de, joost@berckel.nl>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Social Login to TYPO3 1

`Introduction 3 <#__RefHeading__10414_965943910>`_

What does it do? 3

`Users manual 4 <#__RefHeading__10418_965943910>`_

Server requirements 4

User requirements 4

Guide 4

`To-Do List 5 <#__RefHeading__284_1484436317>`_

`ChangeLog 6 <#__RefHeading__10420_965943910>`_

Introduction

What does it do?

The extension "sociallogin2t3" is a social media login tool for logging into the front-end of TYPO3 with social media accounts from Facebook, Hyves, Twitter and LinkedIn based on OAuth authentication. It was developed by Ron Schoellmann and Joost van Berckel for the Dutch trade union CNV (Christelijk Nationaal Vakverbond).

  • Let users connect to their social account and import data to table fe_users
  • When logging in again user data will be updated
  • User will be logged in as FE user and a logout link will appear instead of the login button
  • More info/ discussion: http://blog.firmstream.com/2010/10/19/ social-login-to-typo3/

Users manual

Server requirements

  • PHP>=5.2
  • libcurl package for PHP

User requirements

Cookies activated

Guide

  • Create an application for each service provider login (Facebook, Hyves, Twitter, Linkedin are possible) that you want to include. Don't worry, no coding necessary here, you just need some numbers (consumer key or app id and the consumer secret). Links to service providers:
  • http://developers.facebook.com/setup/ ,
  • http://www.hyves.nl/developer/apiconsumer/ ,
  • https://dev.twitter.com/apps/new/ ,
  • https://www.linkedin.com/secure/developer/
  • Install extension sociallogin2t3 through TYPO3 Extension Manager
  • Include static template "Social Login to TYPO3 (sociallogin2t3)" in your page template:Template > Info/Modify > “Edit the whole template record” > Includes > “Include static (from extensions)” > Select “Social Login to TYPO3 (sociallogin2t3)”
  • Use Template > Constant Editor > SOCIALLOGIN2T3 to enter user storage page, group id, keys and secrets where needed. The fields should be self-explanatory.
  • Insert the plugin on whatever page you want the login/ logout buttons to appear
  • Apply styling as necessary to “div.tx-sociallogin2t3-pi1” and possible children elements (there is a class for every button)
  • Check for discussion on http://blog.firmstream.com/2010/10/19/ social-login-to-typo3/

To-Do List

  • Check if a user has been deleted, but still exists in the database (recycler)
  • Check if suppressed curl option CURLOPT_FOLLOWLOCATION for open_basedir or safe_mode is a trouble maker
  • There might be a cookie issue with some browsers