PHPackages                             thelia/thelia-hybrid-auth-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. thelia/thelia-hybrid-auth-module

ActiveThelia-module[Authentication &amp; Authorization](/categories/authentication)

thelia/thelia-hybrid-auth-module
================================

1.1.3(5y ago)113.5k7LGPL-3.0+PHP

Since Apr 5Pushed 5y ago3 watchersCompare

[ Source](https://github.com/thelia-modules/TheliaHybridAuth)[ Packagist](https://packagist.org/packages/thelia/thelia-hybrid-auth-module)[ RSS](/packages/thelia-thelia-hybrid-auth-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

Thelia Hybrid Auth
==================

[](#thelia-hybrid-auth)

This module allows users to connect and register with social networks such as Facebook, Google, LinkedIn...

Installation
------------

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is TheliaHybridAuth.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/thelia-hybrid-auth-module:~1.0.0

```

Implementation in a website
---------------------------

[](#implementation-in-a-website)

The first thing to do after the installation is to create an application on a social network (ex: developers.facebook.com) and enable it (view the Usage section for more information).

### Login template

[](#login-template)

- Check that hooks "login.top-form", "login.main-bottom" and "login.javascript-initialization" are available on your login template.
- You can change the pop-up templates by overriding them in templates/frontOffice/default/modules/TheliaHybridAuth

### Registration template

[](#registration-template)

Here you need to override the "register-hybrid-auth" template in templates/frontOffice/default. For this, use your actual register template and follow these steps :

- Check that the hook "register.top" is available on your register template AND new register-hybrid-auth template
- Change form name for "register.hybrid.auth"
- Change the form action to "register/hybridauth"
- Find the password and password\_confirm fields and change their types to "hidden" and add "value="{$value}"" in the input tag

### Account template

[](#account-template)

Make sure the hookblock "account-additional" and the hook "account.after-javascript-include" are available in your template. You can override default templates in templates/frontOffice/default/modules/TheliaHybridAuth

Usage
-----

[](#usage)

First of all, to enable a provider, you need to create an app on the provider website. (for more information, contact the provider)

Then configure your module in modules, TheliaHybridAuth, configuration.

You need to enter the id and secret of your app in your module configuration. Use the edit button to do so.

It is then strongly advised to test the connection before to enable your provider (with the test button). Your website will try to connect you to the provider, you may be redirected to the provider website and have to authenticate.

If the test fail, you likely have typed a wrong id/secret or haven't enabled your website on the provider app configuration.

If it still fails, you may need to authorize an address looking like this :  in the provider configuration page. ("your-website" and "the-provider-name" are to be replaced by what it refers to, of course).

A default list of providers is available :

- OpenID
- Google
- Facebook
- Twitter
- Yahoo
- LinkedIn
- Foursquare

But you can add any other provider that are in the following list :

- Windows Live
- GitHub
- LastFM
- Vimeo
- Identica
- Tumblr
- Goodreads
- QQ
- Sina
- Murmur
- Pixnet
- Plurk
- Skyrock
- Geni
- FamilySearch
- MyHeritage
- 500px
- Vkontakte
- Mail.ru
- Yandex
- Odnoklassniki
- Instagram
- Twitch.tv
- Steam Community
- Dribbble

Loop
----

[](#loop)

\[providers.list\]

### Input arguments

[](#input-arguments)

ArgumentDescriptionenabledA boolean value. If set to true, return only activated providers, if set to false, return only non active providers, if set to \*, return all providers.

 **default** : true

 example : *enabled="\*"*customer\_idAn int value. Allows to get the providers associated with this customer id.excludeA string containing all the providers you want to exclude from the loop.

 example : *exclude="Facebook,Twitter,AOL"*### Output arguments

[](#output-arguments)

VariableDescription$NAMEthe name of the Provider$ENABLEDboolean value. true if the provider is enabled, false else

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 55.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~159 days

Recently: every ~313 days

Total

11

Last Release

2099d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![TomPradat](https://avatars.githubusercontent.com/u/16164512?v=4)](https://github.com/TomPradat "TomPradat (24 commits)")[![gmontel-os](https://avatars.githubusercontent.com/u/65279237?v=4)](https://github.com/gmontel-os "gmontel-os (8 commits)")[![roadster31](https://avatars.githubusercontent.com/u/2197734?v=4)](https://github.com/roadster31 "roadster31 (4 commits)")[![edvincandon](https://avatars.githubusercontent.com/u/11134131?v=4)](https://github.com/edvincandon "edvincandon (3 commits)")[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (2 commits)")[![Lurivar](https://avatars.githubusercontent.com/u/33634597?v=4)](https://github.com/Lurivar "Lurivar (1 commits)")[![zawaze](https://avatars.githubusercontent.com/u/37273643?v=4)](https://github.com/zawaze "zawaze (1 commits)")

### Embed Badge

![Health badge](/badges/thelia-thelia-hybrid-auth-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-thelia-hybrid-auth-module/health.svg)](https://phpackages.com/packages/thelia-thelia-hybrid-auth-module)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
