PHPackages                             miniorangedev/craft-single-sign-on - 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. miniorangedev/craft-single-sign-on

ActiveCraft-plugin[Authentication &amp; Authorization](/categories/authentication)

miniorangedev/craft-single-sign-on
==================================

Craft Single Sign-On OAuth &amp; SAML Connect plugin allows unlimited sso / login ( Single Sign On ) with your Azure AD, Discord, G Suite / Google Apps or other custom SAML, OAuth 2.0, OpenID Connect providers.

4.0.12(3y ago)75003[4 issues](https://github.com/miniOrangeDev/craft-single-sign-on/issues)MITPHP

Since Jun 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/miniOrangeDev/craft-single-sign-on)[ Packagist](https://packagist.org/packages/miniorangedev/craft-single-sign-on)[ RSS](/packages/miniorangedev-craft-single-sign-on/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Single Sign-On plugin for Craft CMS 3.x or 4.x
==============================================

[](#single-sign-on-plugin-for-craft-cms-3x-or-4x)

Single Sign-On

[![Screenshot](resources/img/miniorange.png)](resources/img/miniorange.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require miniorangedev/craft-single-sign-on

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Single Sign-On.

Single Sign-On Overview
-----------------------

[](#single-sign-on-overview)

Enable Seamless Single Sign On (SSO) Login for your Craft CMS based website using our plugin. Enable secure one-click access to the users stored in your existing Identity Provider (IDP). Configure SSO with integration protocols like SAML 2.0, OAuth 2.0 and JWT for different IDPs like Okta, ADFS, Azure AD, Azure B2C, AWS Cognito, GSuite/Google Apps including social media providers like Discord, Facebook, etc. Our plugin enables secure and easy login to your website using a single set of credentials.

Configuring Single Sign-On
--------------------------

[](#configuring-single-sign-on)

Just a couple of lines on your Login twig template and Users will be able to SSO on one click. Copy and Paste the following code into the required .twig file.

```
SSO with OAuth
```

Use following code for SAML login.

```
SSO with SAML
```

Using Single Sign-On
--------------------

[](#using-single-sign-on)

Our solution ensures easy, secured and seamless login to Craft using existing credentials which they use to access the Identity Provider/other connected applications With our expert assistance, you can take your craft-based website to the next level and provide your customers with an enhanced Single Sign-On (SSO) experience.

Features
--------

[](#features)

**Custom Attribute Mapping :**
Plugin allows mapping any custom user attributes received from OAuth / OpenId / SAML Connect provider to any Craft user attribute.

**User Sync :**
New users can be auto-created during Single Sign-On while existing users can log in into their existing Craft user profile. Sync user profile attributes such as First Name, Last Name, Email Address etc. present in your IDP to Craft customer profile fields.

**Widget Button Customization :**
You can configure the login widget without any technical knowledge, you can select suitable style attributes from our widget style menu or contact us for customizing the widget for your custom requirements or to report any features missing in our app.

**Account Linking :**
After user SSO to Craft, if the user already exists in Craft, then his profile gets updated or it will create a new User

**Redirect URL after Login :**
Craft Single Sign On ( OAuth Login ) automatically redirects users after successful login.

Supported Identity Providers :
------------------------------

[](#supported-identity-providers-)

- OKTA
- ADFS
- Azure B2C
- One Login
- Salesforce
- Azure AD
- Auth0
- Discord
- Google
- Office 365
- AWS Cognito
- Clever
- Ping
- Keycloak
- LinkedIn
- Onelogin
- Salesforce
- Slack
- Amazon
- Twitter
- Apple
- G Suite &amp; many more

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance9

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Every ~13 days

Total

12

Last Release

1274d ago

Major Versions

1.0.1 → 4.0.12022-07-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/9eeed4a6762c4cd395b5c508453e5fd5682064406836182fecfc917c211283b3?d=identicon)[miniorange](/maintainers/miniorange)

---

Top Contributors

[![miniOrangeDev](https://avatars.githubusercontent.com/u/12458201?v=4)](https://github.com/miniOrangeDev "miniOrangeDev (111 commits)")

---

Tags

jwtSSOsamloauthsingle sign on

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/miniorangedev-craft-single-sign-on/health.svg)

```
[![Health](https://phpackages.com/badges/miniorangedev-craft-single-sign-on/health.svg)](https://phpackages.com/packages/miniorangedev-craft-single-sign-on)
```

###  Alternatives

[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[humanmade/wp-simple-saml

WordPress Simple SAML plugin

124284.7k2](/packages/humanmade-wp-simple-saml)[adam-paterson/oauth2-stripe

Stripe OAuth 2.0 Client Provider for The PHP League OAuth2-Client

172.4M4](/packages/adam-paterson-oauth2-stripe)[adam-paterson/oauth2-slack

Slack OAuth 2.0 Client Provider for The PHP League OAuth2-Client

22694.8k5](/packages/adam-paterson-oauth2-slack)[casdoor/casdoor-php-sdk

PHP client SDK for Casdoor

2219.3k](/packages/casdoor-casdoor-php-sdk)

PHPackages © 2026

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