PHPackages                             su-sws/stanford\_samlauth - 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. su-sws/stanford\_samlauth

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

su-sws/stanford\_samlauth
=========================

2.1.3(2mo ago)0113.6k↓38.6%1[1 issues](https://github.com/SU-SWS/stanford_samlauth/issues)7GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Aug 17Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/SU-SWS/stanford_samlauth)[ Packagist](https://packagist.org/packages/su-sws/stanford_samlauth)[ RSS](/packages/su-sws-stanford-samlauth/feed)WikiDiscussions 2.x Synced 2d ago

READMEChangelog (10)Dependencies (10)Versions (26)Used By (7)

[Stanford SamlAuth](https://github.com/SU-SWS/stanford_samlauth)
================================================================

[](#stanford-samlauth)

##### 1.x

[](#1x)

Changelog: [Changelog.md](CHANGELOG.md)

Description
-----------

[](#description)

This is an enhancement module for [SamlAuth module](https://www.drupal.org/project/samlauth).

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

[](#installation)

Place the Saml cert and key on the server in a protected location. They should be kept secret.

See the [SAML Authentication README](https://git.drupalcode.org/project/samlauth/-/blob/8.x-3.x/README.md) for creating the certificate and key, and [the Stanford UIT Guide to Single SignOn](https://uit.stanford.edu/service/saml/onboard-service-provider) for downloading the signing certificate to sign the assertion.

Add the following to the settings.php file indicating the path to the cert files:

```
$config['samlauth.authentication']['sp_x509_certificate'] = 'file:/path/to/cert.crt';
$config['samlauth.authentication']['sp_private_key'] = 'file:/path/to/cert.key';

// If using signing to authenticate the service.
$config['samlauth.authentication']['idp_certs'][0] = 'file:/path/to/signing/cert.crt';

// Optional Workgroup API cert and key.
$config['stanford_samlauth.settings']['role_mapping']['workgroup_api']['cert'] = '/path/to/workgroup/cert.crt';
$config['stanford_samlauth.settings']['role_mapping']['workgroup_api']['key'] = '/path/to/workgroup/cert.key';
```

Configuration
-------------

[](#configuration)

Follow instructions for SamlAuth module.

Troubleshooting
---------------

[](#troubleshooting)

If you are experiencing issues with this try posting an issue on the [GitHub issues page](https://github.com/SU-SWS/stanford_samlauth/issues).

Contribution / Collaboration
----------------------------

[](#contribution--collaboration)

You are welcome to contribute functionality, bug fixes, or documentation to this module. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see [GitHub's article on fork, branch, and pull requests](https://help.github.com/articles/using-pull-requests)

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance88

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 89.1% 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 ~46 days

Recently: every ~2 days

Total

22

Last Release

60d ago

Major Versions

1.2.1 → 2.0.02025-08-08

1.2.2 → 2.1.32026-05-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/680d4f5083667895b9323d1f792118734589007acc782a6e60e63d95f87d6081?d=identicon)[stanfordwebservices](/maintainers/stanfordwebservices)

---

Top Contributors

[![pookmish](https://avatars.githubusercontent.com/u/7185045?v=4)](https://github.com/pookmish "pookmish (41 commits)")[![imonroe](https://avatars.githubusercontent.com/u/1263892?v=4)](https://github.com/imonroe "imonroe (2 commits)")[![codechefmarc](https://avatars.githubusercontent.com/u/107938318?v=4)](https://github.com/codechefmarc "codechefmarc (1 commits)")[![dalin-](https://avatars.githubusercontent.com/u/1127349?v=4)](https://github.com/dalin- "dalin- (1 commits)")[![jbickar](https://avatars.githubusercontent.com/u/821106?v=4)](https://github.com/jbickar "jbickar (1 commits)")

### Embed Badge

![Health badge](/badges/su-sws-stanford-samlauth/health.svg)

```
[![Health](https://phpackages.com/badges/su-sws-stanford-samlauth/health.svg)](https://phpackages.com/packages/su-sws-stanford-samlauth)
```

###  Alternatives

[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M420](/packages/drupal-core-recommended)[openeuropa/oe_authentication

Authentication against the OpenEuropa Authentication service.

17333.7k6](/packages/openeuropa-oe-authentication)

PHPackages © 2026

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