Extensions Wiki » Extensions » Social Login Application

Social Login Application

Last modified by Danilo Oliveira on 2014/07/20 00:39
userLogin to XWiki from various social sites (Facebook, Twitter, Foursquare, etc.) and interact with them (status, posts, etc.)
TypeXAR
Developed by

Jerome Velociter

LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

View Source

Download v2.0.2-3.5.1

Description

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

Screenshots

sociallogin.png

Compatibility

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
2.0.2-3.5.1XWiki Enterprise 6.0.1

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 setup on a XEM (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.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

Download XWiki

Get Connected