2017 © Pedro Peláez
 

contao-bundle contao-facebook-login

Contao 4 bundle for a Facebook login.

image

inspiredminds/contao-facebook-login

Contao 4 bundle for a Facebook login.

  • Monday, April 23, 2018
  • by fritzmg
  • Repository
  • 1 Watchers
  • 4 Stars
  • 133 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 29 % Grown

The README.md

, (*1)

Contao Facebook Login

Contao 4 bundle for a Facebook login., (*2)

Installation

Require the bundle via composer:, (*3)

composer require inspiredminds/contao-facebook-login

If you use the Contao Standard Edition, you will have to add, (*4)

new FacebookLoginBundle\FacebookLoginBundle()

to your AppKernel.php. You will also need to add the bundle's routes to your app/config/routing.yml:, (*5)

FacebookLoginBundle:
    resource: "@FacebookLoginBundle/Resources/config/routing.yml"

Then execute the Contao Install Tool (regardless of which edition you use)., (*6)

Usage instructions

Facebook App

Before being able to use the Facebook login, you have to create a Facebook App for your website under developers.facebook.com/apps. Make sure to fill out at least the following fields:, (*7)

  • Settings » Basic » Add Platform » Website: enter the basic URL of your site, e.g. http://example.org.
  • Settings » Basic » App Domains: fill in the domain of your site, e.g. example.org.

Then you need to configure the Facebook Login on the left side under PRODUCTS. If said product is not there, you need to add it manually via + Add Product first. Make sure to fill out Valid OAuth URIs with the the following URL of your site: http://example.org/fblogincallback. If you are using https, use that instead (or both). Set the rest of the settings as seen in the screenshot below:, (*8)

Facebook Login settings, (*9)

Use Strict Mode for Redirect URIs can be enabled (new Facebook apps will have this enabled by default). Then make your App public under App Review., (*10)

Contao configuration

After creating the Facebook App, you need to set the Facebook App ID and Facebook App Secret. You can define these either in the website root or in the system settings. Use the former if you are using a multidomain setup., (*11)

Facebook Login module

Simply create a Facebook Login module in your theme and include it anywhere. It works and behaves the same way as the regular login module of Contao and also offers the same settings, plus the ability to define the member groups newly registered users will belong to and the ability to decide what personal data should be stored from Facebook., (*12)

You can also define additional Facebook Login Permissions. These will be added to the default permissions. The module will also save a user access token in the session under the variable facebook_login_access_token for later use., (*13)

Attributions

This bundle uses code provided and originally used by Kamil Kuzminski., (*14)

The Versions

23/04 2018

dev-master

9999999-dev http://www.inspiredminds.at

Contao 4 bundle for a Facebook login.

  Sources   Download

LGPL-3.0+ LGPL-3.0-or-later

The Requires

 

The Development Requires

login facebook contao

23/04 2018

1.2.0

1.2.0.0 http://www.inspiredminds.at

Contao 4 bundle for a Facebook login.

  Sources   Download

LGPL-3.0-or-later

The Requires

 

The Development Requires

login facebook contao

20/04 2018

1.1.0

1.1.0.0 http://www.inspiredminds.at

Contao 4 bundle for a Facebook login.

  Sources   Download

LGPL-3.0-or-later

The Requires

 

The Development Requires

login facebook contao

20/04 2018

1.0.2

1.0.2.0 http://www.inspiredminds.at

Contao 4 bundle for a Facebook login.

  Sources   Download

LGPL-3.0-or-later

The Requires

 

The Development Requires

login facebook contao

17/11 2017

1.0.1

1.0.1.0 http://www.inspiredminds.at

Contao 4 bundle for a Facebook login.

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

login facebook contao

04/11 2017

1.0.0

1.0.0.0 http://www.inspiredminds.at

Contao 4 bundle for a Facebook login.

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

login facebook contao