PHPackages                             opsway/magento2-onelogin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. opsway/magento2-onelogin

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

opsway/magento2-onelogin
========================

Module that makes it possible to login to Magento Admin via Onelogin Identity provider

1.0.0(8y ago)56.6k2BSD-3-ClausePHPPHP ~5.6.0|7.0.2|~7.0.6|^7.1

Since Dec 4Pushed 8y ago11 watchersCompare

[ Source](https://github.com/opsway/magento2-onelogin)[ Packagist](https://packagist.org/packages/opsway/magento2-onelogin)[ RSS](/packages/opsway-magento2-onelogin/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Magento 2 Admin - Onelogin integration (SAML)
=============================================

[](#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
------------------------

[](#magento-versions-support)

Compatible with Magento 2.1+

How does it work?
-----------------

[](#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
-----

[](#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-&gt;Configuration-&gt;Advanced-&gt;Developer-&gt;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
------------------

[](#user-auto-creation)

@todo

Credits
-------

[](#credits)

- Hugely inspired by
- and based on SAML implementation of

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3124d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a3d517fca6beada9002dedcf38cfd8b0e3df6f0dcfbd636a4c55c70da055bbb?d=identicon)[shandyDev](/maintainers/shandyDev)

![](https://www.gravatar.com/avatar/a2419689ea2f2bfc21238d84ac5f492bdd34cb9818a6f9f4617df54f10d733f7?d=identicon)[spiilmusic](/maintainers/spiilmusic)

---

Top Contributors

[![spiilmusic](https://avatars.githubusercontent.com/u/11190533?v=4)](https://github.com/spiilmusic "spiilmusic (6 commits)")

---

Tags

magento2-moduleoneloginopsway-opensourcephp

### Embed Badge

![Health badge](/badges/opsway-magento2-onelogin/health.svg)

```
[![Health](https://phpackages.com/badges/opsway-magento2-onelogin/health.svg)](https://phpackages.com/packages/opsway-magento2-onelogin)
```

###  Alternatives

[aacotroneo/laravel-saml2

A Laravel package for Saml2 integration as a SP (service provider) for multiple IdPs, based on OneLogin toolkit which is much more lightweight than simplesamlphp.

5694.6M](/packages/aacotroneo-laravel-saml2)[pantheon-systems/wp-saml-auth

SAML authentication for WordPress, using SimpleSAMLphp.

92269.2k3](/packages/pantheon-systems-wp-saml-auth)[hslavich/oneloginsaml-bundle

OneLogin SAML Bundle for Symfony

1502.5M1](/packages/hslavich-oneloginsaml-bundle)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

28158.7k](/packages/scaler-tech-laravel-saml2)[humanmade/wp-simple-saml

WordPress Simple SAML plugin

123297.5k4](/packages/humanmade-wp-simple-saml)[nbgrp/onelogin-saml-bundle

OneLogin SAML Symfony Bundle

551.3M](/packages/nbgrp-onelogin-saml-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
