PHPackages                             portrino/shopware-hybrid-auth - 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. portrino/shopware-hybrid-auth

ActiveShopware-plugin[Authentication &amp; Authorization](/categories/authentication)

portrino/shopware-hybrid-auth
=============================

Shopware plugin for social/ oauth2 login

1.4.0(7y ago)1911.1k5[9 issues](https://github.com/portrino/shopware-hybrid-auth/issues)[2 PRs](https://github.com/portrino/shopware-hybrid-auth/pulls)MITPHP

Since May 29Pushed 7y ago13 watchersCompare

[ Source](https://github.com/portrino/shopware-hybrid-auth)[ Packagist](https://packagist.org/packages/portrino/shopware-hybrid-auth)[ RSS](/packages/portrino-shopware-hybrid-auth/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (3)Versions (17)Used By (0)

Shopware HybridAuth
===================

[](#shopware-hybridauth)

[![Latest Stable Version](https://camo.githubusercontent.com/eb2fb1e544fc30b2c51d16e6a8fc44da9de5d896fbff078cf4e79e87e6200c06/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f73686f70776172652d6879627269642d617574682f762f737461626c65)](https://packagist.org/packages/portrino/shopware-hybrid-auth)[![Total Downloads](https://camo.githubusercontent.com/724b0972465d571faa35deb01836bd17ce0b3795669f316d988d0f46dbe2ced3/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f73686f70776172652d6879627269642d617574682f646f776e6c6f616473)](https://packagist.org/packages/portrino/shopware-hybrid-auth)[![License](https://camo.githubusercontent.com/2d21b6ff520bd0bb1ea8d26ef5217d79c9215889d3b81361915ae9c7ccf99842/68747470733a2f2f706f7365722e707567782e6f72672f706f727472696e6f2f73686f70776172652d6879627269642d617574682f6c6963656e7365)](https://packagist.org/packages/portrino/shopware-hybrid-auth)

- Social Auth/ Login for Shopware
    - Required minimum Shopware version: 5.2
    - Required PHP version: 7.0

Product information
-------------------

[](#product-information)

**Make it easy for your customers to log onto the Shopware shop with the help of the social log-in!**

Social login is a very useful feature used by many applications to get the user logged in easily via Facebook, Google, etc.

Give your customers the option to sign in via any social account with the help of the "SocialLogin" to your shop easily and conveniently with just one click.

[![Screenshot](https://github.com/portrino/shopware-hybrid-auth/raw/master/Documentation/Images/login.png)](https://github.com/portrino/shopware-hybrid-auth/blob/master/Documentation/Images/login.png)

### New customer process

[](#new-customer-process)

If the customer is not yet registered in your shop, he or she will be logged in after successful authentication against one of the social providers.

If the master data is no completed the user can fullfil them as usual in his account. In the case that the user wants to checkout without all master data shopware will prompt him to enter his data.

We have refrained from doing a seperate registration after social login, to prevent that the user leaves your shop due the complexity of the registration form.

### Existing customer process

[](#existing-customer-process)

Users who are already a customer in your shop, as long as the social login cookie is still valid are automatically logged into the shop. If the cookie is not available, the customer can sign in to the shop through the social log-in. A new registration is not needed here.

#### Special Case "equal email addresses"

[](#special-case-equal-email-addresses)

If the user logs in via Google and wants to log in later via Facebook an he has the same email address on both social providers we **connect** the identity from Facebook to the already existing Google customer account on the shopware system.

#### Special Case "passwort"

[](#special-case-passwort)

The password will be during the login process, because shopware needs a password for each user. Unfortunatly the user not know this password. The only way he can reset this is to click "Password Forgot?" and reset the passwort via email.

### Logout process

[](#logout-process)

If the user presses the "Logout button", we logout him from all social providers so that he should reauthenticate when visiting the shop againt. Logout from all providers does not mean logging him out from Facebook or Google - that is not possible ;-)

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

[](#installation)

### Zip Installation package for the Shopware Plugin Manager

[](#zip-installation-package-for-the-shopware-plugin-manager)

- Download the [latest plugin version](https://github.com/portrino/shopware-hybrid-auth/releases/latest/) (e.g. `Port1HybridAuth-1.3.0.zip`)
- Upload and install/ activate the plugin using the Plugin Manager

### Git Version

[](#git-version)

- Checkout Plugin in `/custom/plugins/Port1HybridAuth`
- Change to directory and run `composer install` to install the dependencies
- Install/ activate the plugin using the Plugin Manager

### Install with composer

[](#install-with-composer)

- Change to your root installation of Shopware
- Run command `composer require --update-no-dev portrino/shopware-hybrid-auth` and install/ activate the plugin using the Plugin Manager

Configuration
-------------

[](#configuration)

- configuration takes completely place in shopware backend plugin config via plugin manager

### General

[](#general)

#### Include FontAwesome

[](#include-fontawesome)

Include FontAwesome 4.7.0 () from CDN to display nice icons for the social login buttons. Disable it if you already have included FontAweseome or want to override default styling.

#### Country Fallback

[](#country-fallback)

Select the country which should be used if the plugin cannout determine a country for the customer during social login. A country is mandatory for the customer so you should select a country here.

...we will optimize this process soon

#### Hybrid Auth

[](#hybrid-auth)

#### Debug Mode

[](#debug-mode)

You can choose one of the debug modes. The are the same as hybridauth library uses. You can read more about this here [http://hybridauth.sourceforge.net/userguide/Debugging\_and\_Logging.html](http://hybridauth.sourceforge.net/userguide/Debugging_and_Logging.html)

#### Debug File

[](#debug-file)

Enter the path where the debug file is located here.

### Facebook

[](#facebook)

At first go to  and register a new application.

- Add new Application
- Enter your information
- Add **Facebook Login**
- activate **Client-OAuth-Anmeldung** and **Web-OAuth-Anmeldung**
- activate **Browser Control Redirect**
- enter Valid OAuth Redirect URIs
    - this URL should look like:

```
  http://www.shopware-portrino.de/hybridauth?hauth_done=Facebook

```

#### Enabled

[](#enabled)

Set Facebook :: Enabled to `Yes`.

#### App-ID

[](#app-id)

Enter your App-ID, which you can find on your application dashboard into the field: "Facebook :: App-ID".

#### App-Secret

[](#app-secret)

Enter your App-Secret, which you can find on your application dashboard into the field: "Facebook :: App-Secret".

#### Scope

[](#scope)

Enter your custom scope in this textarea. More information can be found here:  .

*! Clear the cache after you have made configuration changes*

### Google

[](#google)

At first go to  and create a new application

- *Create Project*
- Wait until the project is created
- Go to *Credentials*
- *Create Credentials*
- *Create OAuth client ID*
- Enter *OAuth consent screen data*
- *Create client ID*
    - Enter the Name you wish to use
    - Enter the Authorised redirect URIs
    - this URL **MUST** look like this:

```
  http://www.shopware-portrino.de/hybridauth?hauth_done=Google

```

- store the *client ID* and *client secret* or copy it directly into your plugin configuration
- Enable Google+ API in your API console

#### Enabled

[](#enabled-1)

Set Google :: Enabled to `Yes`.

#### Client-ID

[](#client-id)

Enter your Client-ID, which you can find on your application credentials section into the field: "Google :: Client-ID".

#### Clientkey

[](#clientkey)

Enter your Clientkey, which you can find on your application credentials section into the field: "Google :: Clientkey".

#### Scope

[](#scope-1)

Enter custom scopes to retrieve more or less information from google by adding them here. More information can be found here:  .

*! Clear the cache after you have made configuration changes*

### Amazon

[](#amazon)

- first of all you have to use SSL to get amazon social login working

At first go to  and register a new application

- *Register new application*
- Enter your data
- Go to "Web Settings"
- Get the **Client ID** and the **Client Secret**
- Enter the Allowed Return URLs
    - this URL **MUST** look like this:

```
  https://www.shopware-portrino.de/hybridauth?hauth.done=Amazon

```

- store the *client ID* and *client secret* or copy it directly into your plugin configuration

#### Enabled

[](#enabled-2)

Set Amazon :: Enabled to `Yes`.

#### Client-ID

[](#client-id-1)

Enter your Client-ID, which you can find on your *Web Settings* section into the field: "Amazon :: Client-ID".

#### Client Secret

[](#client-secret)

Enter your Client Secret, which you can find on your *Web Settings* section into the field: "Amazon :: Client Secret".

*! Clear the cache after you have made configuration changes*

### LinkedIn

[](#linkedin)

#### Enabled

[](#enabled-3)

Set LinkedIn :: Enabled to `Yes`.

At first go to  and create a new application

- Enter your data
- Go to "Authentication"
- Enter the Allowed Return URLs
    - this URL **MUST** look like this:

```
  https://www.shopware-portrino.de/hybridauth?hauth.done=LinkedIn

```

- store the *client ID* and *client secret* or copy it directly into your plugin configuration

#### Client-ID

[](#client-id-2)

Enter your Client-ID, which you can find on your *Web Settings* section into the field: "Amazon :: Client-ID".

#### Client Secret

[](#client-secret-1)

Enter your Client Secret, which you can find on your *Web Settings* section into the field: "Amazon :: Client Secret".

*! Clear the cache after you have made configuration changes*

Authors
-------

[](#authors)

- **André Wuttig** - *Initial work* - [aWuttig](https://github.com/aWuttig)
- **Axel Böswetter** - *Bugfixes, Features* - [EvilBMP](https://github.com/EvilBMP)
- **Andreas Haubold** - *Documentation* - [ahaubold](https://github.com/ahaubold)

See also the list of [contributors](https://github.com/portrino/shopware-hybrid-auth/graphs/contributors) who participated in this project.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 54.9% 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 ~30 days

Recently: every ~61 days

Total

13

Last Release

2906d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03867e1d2497d7cb7feb932fb301387e143503bfd17c584ef90347b3d7942cf1?d=identicon)[portrino-dev](/maintainers/portrino-dev)

---

Top Contributors

[![EvilBMP](https://avatars.githubusercontent.com/u/540478?v=4)](https://github.com/EvilBMP "EvilBMP (39 commits)")[![aWuttig](https://avatars.githubusercontent.com/u/726519?v=4)](https://github.com/aWuttig "aWuttig (32 commits)")

---

Tags

facebookgooglehybridauthlinkedinshopwaresocial-login

### Embed Badge

![Health badge](/badges/portrino-shopware-hybrid-auth/health.svg)

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

###  Alternatives

[markstory/acl_extras

Additional tools for managing DB ACL in CakePHP applications.

155311.0k](/packages/markstory-acl-extras)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[stuttter/wp-user-signups

The best way to manage user &amp; site sign-ups in WordPress

46208.9k5](/packages/stuttter-wp-user-signups)[winter/wn-user-plugin

User plugin for Winter CMS

1233.5k13](/packages/winter-wn-user-plugin)[rainlab/userplus-plugin

User plus plugin for October CMS

168.8k2](/packages/rainlab-userplus-plugin)

PHPackages © 2026

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