2017 © Pedro Peláez
 

flarum-extension flarum-ext-auth-magento

Allow users to log in with Magento based store.

image

vovayatsyuk/flarum-ext-auth-magento

Allow users to log in with Magento based store.

  • Thursday, January 28, 2016
  • by vovayatsyuk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Flarum authentication with Magento store

Extension provides ability to authenticate into Flarum forum with Magento store account., (*1)

Frontend Backend Settings
Flarum login popup Flarum login popup

~~It's not working yet~~ It works! :+1:

~~Unfortunately Magento does not provide user info endpoint for the currently authenticated user, so this module can't receive any user details after authentication.~~, (*2)

OAuth 1.0 Client finally has a built-in support for magento stores., (*3)

Installation

composer require vovayatsyuk/flarum-ext-auth-magento

Configure module at Flarum extensions management page., (*4)

Store URL   - Your Magento store url
API Key     - Consumer Key
API Secret  - Consumer Secret

If you are not sure where to get API key and secret - proceed to the magento setup section., (*5)

Magento setup

  1. Allow Authenticated Customer to access to the Customer resource., (*6)

    • Navigate to System > Web Services > REST - Roles and select Customer role., (*7)

      REST Roles Grid, (*8)

    • Switch to Role API Resources tab and grant access to Customer/Customer/Retrieve resource., (*9)

      Customer Role Form, (*10)

  2. Allow Authenticated Customer to access to Email, First Name and Last Name attributes., (*11)

    • Navigate to System > Web Services > REST - Attributes and select Customer user type., (*12)

      REST Roles Grid, (*13)

    • Grant access to read Email, First Name and Last Name attributes., (*14)

      Attribute Rules for Customer Role, (*15)

  3. Create OAuth Consumer., (*16)

    • Navigate to System > Web Services > REST - OAuth Consumers and press Add New button in right upper corner., (*17)

      OAuth Consumers Grid, (*18)

    • Fill Consumer Name and save it., (*19)

      OAuth Consumer Form, (*20)

      That's it! Now you can use the Key and Secret fields values for Flarum extension configuration., (*21)

The Versions

28/01 2016

dev-master

9999999-dev

Allow users to log in with Magento based store.

  Sources   Download

MIT

The Requires

 

by Vova Yatsyuk

authentication

28/01 2016

v0.1.0-beta.2

0.1.0.0-beta2

Allow users to log in with Magento based store.

  Sources   Download

MIT

The Requires

 

by Vova Yatsyuk

authentication

27/01 2016

v0.1.0-beta.1

0.1.0.0-beta1

Allow users to log in with Magento based store.

  Sources   Download

MIT

The Requires

 

by Vova Yatsyuk

authentication