Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of opsway:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Magento 2 Admin - Onelogin integration (SAML)

This is migrated version of module magento-mod-onelogin for Magento 1.x

Magento module that makes it possible to login to Magento Admin via Onelogin 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

User authenticates against application and then information about user email is sent to Magento. Magento authenticate user by email and let him in.


  1. You should create application in

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:
  • X.509 certificate
  1. 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.

  2. Flush Magento caches and you are done - you can now click on "Login via Onelogin" and see how magic happens

User auto-creation



You can’t perform that action at this time.