Download the PHP package portrino/shopware-hybrid-auth without Composer

On this page you can find all versions of the php package portrino/shopware-hybrid-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package shopware-hybrid-auth

Shopware HybridAuth

Latest Stable Version Total Downloads License

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

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

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"

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"

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

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

Zip Installation package for the Shopware Plugin Manager

Git Version

Install with composer

Configuration

General

Include FontAwesome

Include FontAwesome 4.7.0 (http://fontawesome.io/) 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

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

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

Debug File

Enter the path where the debug file is located here.

Facebook

At first go to https://developers.facebook.com/ and register a new application.

Enabled

Set Facebook :: Enabled to Yes.

App-ID

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

App-Secret

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

Scope

Enter your custom scope in this textarea. More information can be found here: https://developers.facebook.com/docs/facebook-login/permissions .

! Clear the cache after you have made configuration changes

Google

At first go to https://console.developers.google.com/ and create a new application

Enabled

Set Google :: Enabled to Yes.

Client-ID

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

Clientkey

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

Scope

Enter custom scopes to retrieve more or less information from google by adding them here. More information can be found here: https://developers.google.com/identity/protocols/googlescopes .

! Clear the cache after you have made configuration changes

Amazon

At first go to https://sellercentral.amazon.com/gp/homepage.html and register a new application

Enabled

Set Amazon :: Enabled to Yes.

Client-ID

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

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

Enabled

Set LinkedIn :: Enabled to Yes.

At first go to https://www.linkedin.com/developer/apps/ and create a new application

Client-ID

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

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

Authors

See also the list of contributors who participated in this project.


All versions of shopware-hybrid-auth with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ~1.0
mindplay/composer-locator Version ~2.1.3
hybridauth/hybridauth Version ~2.9.6
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package portrino/shopware-hybrid-auth contains the following files

Loading the files please wait ....