PHPackages                             utexas/utexas\_saml\_auth\_helper - 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. utexas/utexas\_saml\_auth\_helper

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

utexas/utexas\_saml\_auth\_helper
=================================

This is a Drupal module that provides UTexas-focused UI tweaks to the contributed samlauth module.

3.6.4(1mo ago)1174.1k↑81.3%2GPL-2.0-or-laterPHP

Since Dec 5Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/utdk/utexas_saml_auth_helper)[ Packagist](https://packagist.org/packages/utexas/utexas_saml_auth_helper)[ Docs](https://github.austin.utexas.edu/eis1-wcs/utexas_saml_auth_helper)[ RSS](/packages/utexas-utexas-saml-auth-helper/feed)WikiDiscussions master Synced 1mo ago

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

UTexas SAML Authentication Helper
=================================

[](#utexas-saml-authentication-helper)

This is a Drupal module that provides UTexas-focused UI tweaks to the contributed [samlauth](https://drupal.org/project/samlauth) module.

End-user documentation can be found at

List of behaviors
-----------------

[](#list-of-behaviors)

- Declares a dependency on the [samlauth](https://www.drupal.org/project/samlauth) module, causing that module and its dependency `externalauth` to be enabled when this module is enabled.
- Includes configuration defaults for:
    - `utexas_saml_auth_helper_iid_domain: eid.utexas.edu`
    - `mail_body` -- The rewritten "account created" email body
    - `mail_subject` -- The rewritten "account created" email subject
- Set user account creation password form element to #access=FALSE and #required=FALSE.
- Disable editing the username for already-created accounts.
- Set email form element to #disabled=TRUE and #required=FALSE.
- Add custom validation that will:
    - Confirm the name entered is a valid EID
        - The regex expression from the Drupal 7 module should be reused for this.
    - Set email to EID + "@" + `utexas_saml_auth_helper_iid_domain` configuration setting.
- Set required configuration for OneLogin library and disable editing of form fields
- Define a drush command for converting all eligible users to SAML login. With the switch from `simplesamlphp_auth` to `samlauth`, this is effectively outdated, as `samlauth` will automatically convert eligible user accounts that already exist in the system.
- If the `samlauth` module is enabled, redirect the legacy simplesamlphp\_auth `/saml_login` path to `/saml/login`

Configuring SAML user roles
---------------------------

[](#configuring-saml-user-roles)

The module `samlauth` includes a sub-module, `samlauth_user_roles` for assigning Drupal roles to users based on affiliations provided by the Identity Provider (IdP).

This form is located at `admin/config/people/saml/user-roles`

- For "SAML Attribute", enter `urn:mace:dir:attribute-def:utexasEduPersonAffiliation`
- For "Separator", enter `|`
- For value conversions, enter in the following format. To automatically grant the `Content Editor` role to users with the `staff-current` affiliation, enter `staff-current|Content editor`. A complete converion example from `simplesamlphp_auth` to `samlauth` for `pharmacy-intranet` is shown below:

### simplesamlphp\_auth syntax

[](#simplesamlphp_auth-syntax)

```
faculty_staff:urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,faculty-future;urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,faculty-current;urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,staff-future;urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,staff-current

```

### samlauth syntax

[](#samlauth-syntax)

```
faculty-future|Faculty/Staff
faculty-current|Faculty/Staff
staff-future|Faculty/Staff
staff-current|Faculty/Staff

```

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance89

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~153 days

Recently: every ~91 days

Total

16

Last Release

56d ago

Major Versions

1.0.0-alpha.3 → 3.0.02021-05-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4305692?v=4)[Mark Fullmer](/maintainers/markfullmer)[@markfullmer](https://github.com/markfullmer)

![](https://www.gravatar.com/avatar/012956b22ca9b84819eaa90d603bb3dd50236f283dea2ea169268c8dece722c6?d=identicon)[gravelpot](/maintainers/gravelpot)

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

![](https://www.gravatar.com/avatar/166b10836b4f6d015d31b89bb2681095e36396a71f383d78424724ef8d7c0fcc?d=identicon)[daddison](/maintainers/daddison)

![](https://www.gravatar.com/avatar/3ecf616f86b11edbdfcceec63369c1857581f853d61cba36a3f3ad398884afa0?d=identicon)[bjc2265](/maintainers/bjc2265)

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

---

Top Contributors

[![jmf3658](https://avatars.githubusercontent.com/u/34824280?v=4)](https://github.com/jmf3658 "jmf3658 (35 commits)")[![markfullmer](https://avatars.githubusercontent.com/u/4305692?v=4)](https://github.com/markfullmer "markfullmer (13 commits)")[![daddison](https://avatars.githubusercontent.com/u/2952371?v=4)](https://github.com/daddison "daddison (1 commits)")[![twfahey1](https://avatars.githubusercontent.com/u/6699959?v=4)](https://github.com/twfahey1 "twfahey1 (1 commits)")

---

Tags

drupal

### Embed Badge

![Health badge](/badges/utexas-utexas-saml-auth-helper/health.svg)

```
[![Health](https://phpackages.com/badges/utexas-utexas-saml-auth-helper/health.svg)](https://phpackages.com/packages/utexas-utexas-saml-auth-helper)
```

###  Alternatives

[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[drupalauth/simplesamlphp-module-drupalauth

A SimpleSAMLphp module adding support for Drupal as the authentication source.

25305.4k1](/packages/drupalauth-simplesamlphp-module-drupalauth)[visanduma/nova-two-factor

Nova Two Factor Authentication

56621.3k](/packages/visanduma-nova-two-factor)

PHPackages © 2026

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