Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 1.96 KB

README.md

File metadata and controls

36 lines (25 loc) · 1.96 KB

Diglin Github

Magento module to allow users authenticate from Github account to your shop

Features

  • Account creation from Github account information: registration page is displayed to the user the first time he does a log in, pre-filled with the user public information. An email is till needed if it's not available on the Github public profile.
  • Login to Magento thanks to Github credentials: a login Github button is displayed on the Magento traditional login page (customer or checkout page). The user click on it and he is redirected to the Github Logn page. The user provide his credentials into Github then he is redirected to your Magento website which will allow or not the customer authentification.
  • Allow your old "customer" accounts to login with a Github account and sync it with your website.

Documentation

Via modman

  • Install modman
  • Use the command from your Magento installation folder: modman clone https://github.com/diglin/Diglin_Github.git

Manually

  • You can copy the files from the folders of this repository to the same folders of your installation

Configuration

  • Create on Github an Application. In Github, go to your account settings > Applications > Register new application >
    • Give a name, a main url (the one of your Magento Shop), a callback url (it should be exactly the same as the one of the main url)
  • In Magento Backend, go to System > Configuration > Diglin > Github. If a 403 error occur, just logout and login and go back the configuration page. Provide into the configuration, the client id and the client secret provided by Github.
  • Save the configuration.
  • Voilà! That's all folks!

Author

Donation

Invite me for a drink