https://github.com/opsway/magento2-onelogin
https://github.com/opsway/magento2-onelogin
magento2-module onelogin opsway-opensource php
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/opsway/magento2-onelogin
- Owner: opsway
- License: bsd-3-clause
- Created: 2017-01-13T10:35:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-04T11:53:49.000Z (over 8 years ago)
- Last Synced: 2024-04-18T10:09:35.786Z (about 2 years ago)
- Topics: magento2-module, onelogin, opsway-opensource, php
- Language: PHP
- Size: 8.79 KB
- Stars: 5
- Watchers: 13
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Magento 2 Admin - Onelogin integration (SAML)
===========================================
This is migrated version of module [magento-mod-onelogin](https://github.com/opsway/magento-mod-onelogin) for Magento 1.x
Magento module that makes it possible to login to Magento Admin via [Onelogin](http://onelogin.com) Identity provider
Magento versions support
------------------------
Compatible with Magento 2.1+
How does it work?
-----------------
Module adds a link "Login via Onelogin" on backend login form. Following this links initiates series of redirects that are described by [SAML 2.0 standart](http://en.wikipedia.org/wiki/SAML_2.0)
User authenticates against onelogin.com application and then information about user email is sent to Magento. Magento authenticate user by email and let him in.
Usage
--------------
1. You should create application in Onelogin.com
We are using "OneLogin SAML Test (IdP)" as a base.
You can set Credentials as "Shared" and put Email you need to let all users login through one Magento account
You should copy two things:
- application ID, which can be found in url: yourcompany.onelogin.com/apps/123456
- X.509 certificate
2. Now you can copy module to your Magento folder and configure it.
Go to Stores->Configuration->Advanced->Developer->Onelogin and put there the required settings.
3. Flush Magento caches and you are done - you can now click on "Login via Onelogin" and see how magic happens
User auto-creation
--------------
@todo
Credits
--------------
- Hugely inspired by https://github.com/Flagbit/magento-openid
- and based on SAML implementation of https://github.com/onelogin/php-saml