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
Customer
resource.-
Navigate to
System > Web Services > REST - Roles
and selectCustomer
role. -
Switch to
Role API Resources
tab and grant access toCustomer/Customer/Retrieve
resource.
-
-
Allow Authenticated Customer to access to
Email
,First Name
andLast Name
attributes.-
Navigate to
System > Web Services > REST - Attributes
and selectCustomer
user type. -
Grant access to read
Email
,First Name
andLast Name
attributes.
-
-
Create OAuth Consumer.
-
Navigate to
System > Web Services > REST - OAuth Consumers
and pressAdd New
button in right upper corner. -
Fill Consumer Name and save it.
That's it! Now you can use the
Key
andSecret
fields values for Flarum extension configuration.
-