Download the PHP package vovayatsyuk/flarum-ext-auth-magento without Composer
On this page you can find all versions of the php package vovayatsyuk/flarum-ext-auth-magento. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vovayatsyuk/flarum-ext-auth-magento
More information about vovayatsyuk/flarum-ext-auth-magento
Files in vovayatsyuk/flarum-ext-auth-magento
Package flarum-ext-auth-magento
Short Description Allow users to log in with Magento based store.
License MIT
Informations about the package flarum-ext-auth-magento
Flarum authentication with Magento store
Extension provides ability to authenticate into Flarum forum with Magento store account.
| Frontend | Backend Settings |
|---|---|
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.~~
OAuth 1.0 Client finally has a built-in support for magento stores.
Installation
Configure module at Flarum extensions management page.
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.
Magento setup
-
Allow Authenticated Customer to access to the
Customerresource.-
Navigate to
System > Web Services > REST - Rolesand selectCustomerrole. -
Switch to
Role API Resourcestab and grant access toCustomer/Customer/Retrieveresource.
-
-
Allow Authenticated Customer to access to
Email,First NameandLast Nameattributes.-
Navigate to
System > Web Services > REST - Attributesand selectCustomeruser type. -
Grant access to read
Email,First NameandLast Nameattributes.
-
-
Create OAuth Consumer.
-
Navigate to
System > Web Services > REST - OAuth Consumersand pressAdd Newbutton in right upper corner. -
Fill Consumer Name and save it.
That's it! Now you can use the
KeyandSecretfields values for Flarum extension configuration.
-