icap/oauth-bundle

OAuth Service for Claroline Connect platform


Keywords
oauth, twitter, google, facebook, ICAP
License
GPL-3.0+

Documentation

OAuthBundle

Provides a plugin for Claroline Connect platform that ennables users to connect through social login (facebook, twitter, google, linkedin, windows live)

Installation

Via Composer: composer install icap/oauth-bundle

Then run the php app/console claroline:update command to install plugin to Claroline platform

Configuration

In order to enable 3rd party connection (social login) using the OAuth service you will need to generate a pair of App key + App Secret for every provider available (for the moment facebook, twitter, google and linkedin)

Click on the following links to learn how to configure your App for every provider and eventually retrieve your App key & secret

Once you've created your App and got your keys, it's time to enable login to your Claroline platform.

To enable your social login, let's say facebook login for example:

  1. Head over to Administration -> Platform parameters
  2. Click on Oauth option
  3. Choose the provider you wish to enable/configure (e.g. facebook)
  4. Fill in the form with your application id (App key) and your secret (App secret), check activate and then save

Your social login is now enabled. You can test it on your login page.

ATTENTION! You need to have administration priviledges in order to set any platform parameters

If your App configuration is correct then you should be able to connect using the external login. If you encounter any issues please verify your configuration both in the App and in the platform.

If you are still having difficulty connecting through your App do not hesitate to contact us.