Social Login Application

Last modified by Admin on 2016/12/05 00:00

userUI for social login application
TypeXAR
CategoryApplication
Developed by

Jerome Velociter, Sidali Djebloun

Rating
Rate!
2 Votes
Active Installs19
LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

Description

Login to XWiki from various social sites, including Facebook, Twitter but also Google and Google Apps. Based on socialauth.

Screenshots

sociallogin.png

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
2.0.2-3.5.1XWiki Enterprise 6.0.1

Version "2.0.2-3.5.1" is the version name. It des not mean the range from 2.0.2 to 3.5.1 emoticon_smile

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions

For versions 2.0 and above

  • Setup all API keys you plan on using in a oauth_consumer.properties file, in your /WEB-INF/ directory. Check-out the sample properties file to know which format is expected for each OAuth consumer.
  • Set the authclass parameter (xwiki.authentication.authclass) to "org.xwiki.social.authentication.internal.SocialAuthServiceImpl" in xwiki.cfg. If you want a global multi-wiki setup (only global users, set xwiki.authentication.socialLogin.globalConfiguration to "1" also in xwiki.cfg.
  • Add XWiki.SocialLoginTranslations as an internationalization bundle in your wiki administration (in section Localization)
  • Copy the login.vm template available at https://raw.github.com/jvelo/xwiki-social-login/xwiki-social-login-2.0/xwiki-social-login-ui/src/main/webapp/templates/login.vm in your webapp templates folder, or in your custom skin
  • Visit the SocialLogin administration section and list all providers you want to expose, one on each line, in the order you want them to appear on the login form. For example :
    Facebook
    Twitter
    Foursquare
  • You are done

Older versions

  • Setup all API keys you plan on using in a oauth_consumer.properties file, in your /WEB-INF/ directory. Check-out the sample properties file to know which format is expected for each OAuth consumer.
  • Add XWiki.SocialLoginTranslations as an internationalization bundle in your wiki administration (in section Localization)
  • Copy the login.vm template available at https://raw.github.com/jvelo/xwiki-social-login/xwiki-social-login-0.2/src/main/webapp/templates/login.vm in your webapp templates folder, or in your custom skin
  • Visit the SocialLogin administration section and list all providers you want to expose, one on each line, in the order you want them to appear on the login form. For example :
    Facebook
    Twitter
    Foursquare
  • You are done

Release Notes

v2.6

  • Closed AUTHSL-21 Upgrade to socialauth 4.12
  • Closed AUTHSL-20 Authentication does not work on Google anymore

v2.5

  • Closed AUTHSL-17 Facebook profile details can't be accesed anymore
  • Closed AUTHSL-15 Login doesn't work anymore
  • Closed AUTHSL-12 Clean the code : remove unused variables and deprecated methods

v2.4

  • Closed AUTHSL-14 Upgrade to socialauth 4.10
  • Closed AUTHSL-11 when facebook link is clicked, hitting the browser back button and then clicking the facebook link again does not open the facebook page anymore
  • Closed AUTHSL-10 Clean the poms by following the best practices

v2.3

  • Closed AUTHSL-9 Cannot use custom permissions for both Facebook and Linkedin

v2.2

  • Closed AUTHSL-5 Upgrade to socialauth 4.9
  • Closed AUTHSL-4 Extension broken on 7.0 because of crypto API change
  • Closed AUTHSL-3 Fails to install on XWiki 7.x

v2.1

  • Closed AUTHSL-2 Upgrade to socialauth 4.7
  • Closed AUTHSL-1 The Social Login is using internal class

v2.0.2

Fixes for playing well with extension manager

v2.0.1

Bug fixes + new APIs

v2.0

Revamp as a true authenticator, now based on the Social Login Module.

Dependencies

    

Get Connected