PHPackages                             ubccr/simplesamlphp-module-authglobus - 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. ubccr/simplesamlphp-module-authglobus

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

ubccr/simplesamlphp-module-authglobus
=====================================

Globus Auth module for SimpleSAMLphp.

1.3.0(7y ago)185.9k↓65.1%2LGPL-3.0PHP

Since Sep 7Pushed 7y ago9 watchersCompare

[ Source](https://github.com/ubccr/simplesamlphp-module-authglobus)[ Packagist](https://packagist.org/packages/ubccr/simplesamlphp-module-authglobus)[ RSS](/packages/ubccr-simplesamlphp-module-authglobus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

simplesamlphp-module-authglobus
===============================

[](#simplesamlphp-module-authglobus)

A Globus Auth Module for SimpleSAMLphp

Overview
--------

[](#overview)

This is an extension for [SimpleSAMLphp](https://simplesamlphp.org/), enabling authenticating with the University of Chicago's [Globus Project](https://www.globus.org) with your SimpleSAMLPHP configuration. It was designed for use by the University at Buffalo Center for Computational Research's [XDMoD Project](http://open.xdmod.org/), but is written to be generic and reusable.

Setup
-----

[](#setup)

### Automatic

[](#automatic)

If you're using [Composer](https://getcomposer.org/), installing the module is as simple as:

```
  'composer require ubccr/simplesamlphp-module-authglobus 1.*'

```

### From scratch

[](#from-scratch)

First [install SimpleSAMLphp](https://simplesamlphp.org/docs/stable/simplesamlphp-install) as normal. Then copy the contents of modules/ into your own modules directory. Rename default-disable to default-enable. Append the configuration found in config-templates/ to your own config.

### Running Globus Auth

[](#running-globus-auth)

You will need to first properly [register your application with Globus Auth](https://docs.globus.org/api/auth/developer-guide/#register-app). Thereafter, [head to your SimpleSAML configuration](../master/config-templates/authsources.php), and fill in the 'globus' module information in authsources.php as follows:

```
   'key': The client ID value you were provided when you registered your application,
   'secret': The client secret. As per the documentation, make sure you save this. YOU CAN ONLY SEE IT ONCE!!!
   'scope': You should have these set up within your Globus App registry.
   'response_type': This should always be set to 'code'.
   'redirect_uri': Should always be the linkback.php file + your endpoint. A la 'https://fakeaddress.buffalo.edu/simplesaml/module.php/globus/linkback.php'

```

### Running Globus Auth as an External IDP

[](#running-globus-auth-as-an-external-idp)

Set up your SAML SP as normal ([see our LDAP Authentication guide](http://open.xdmod.org/simpleSAMLphp-ldap.html) for a similar example), with 'globus-idp' as the identity provider. Create an SSL self-signed certificate and place it your certificates folder. You will then need to esnure you configure your globus-idp metadata as follows:

File: saml20-idp-hosted.php

```
  $metadata['globus-idp'] = array(
    /*
    * The hostname for this IdP. This makes it possible to run multiple
    * IdPs from the same configuration. '__DEFAULT__' means that this one
    * should be used by default.
    */
    'host' => '__DEFAULT__',

    /*
    * The private key and certificate to use when signing responses.
    * These are stored in the cert-directory.
    */
    'privatekey' => '[[YOUR_PRIVATE_KEY]].pem',
    'certificate' => '[[YOUR_PRIVATE_CERT]].crt',

    /*
    * The authentication source which should be used to authenticate the
    * user. This must match one of the entries in config/authsources.php.
    */
    'auth' => 'globus'
  );

```

File: saml20-idp-remote.php

```
    $metadata['globus-idp'] = array (
      'metadata-set' => 'saml20-idp-remote',
      'entityid' => 'globus-idp',
      'SingleSignOnService' =>
          array (
              0 =>
              array (
                  'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
                  'Location' => 'https://your.endpoint/simplesaml/saml2/idp/SSOService.php',
              ),
          ),
      'SingleLogoutService' =>
          array (
              0 =>
              array (
                  'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect',
                  'Location' => 'https://your.endpoint/simplesaml/saml2/idp/SingleLogoutService.php',
              ),
          ),
      'keys' =>
    array (
      0 =>
      array (
        'encryption' => true,
        'signing' => true,
        'type' => 'CERTTYPE',
        'CERTTYPE' => '...',
      ),
      1 =>
      array (
        'encryption' => true,
        'signing' => true,
        'type' => 'CERTTYPE',
        'CERTTYPE' => '...',
      ),
    ),
      'NameIDFormat' => 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient',
    );

```

Suggestions, Bugfixes, Feedback
-------------------------------

[](#suggestions-bugfixes-feedback)

While this module is used in the XDMoD Project, it is not officially supported as part of the overarching project or maintained as such. Tickets submitted to XDMoD support pertaining to this module cannot be supported, and are likely to go unanswered. Pull requests are welcome, but turnaround might be intermittent in lieu of other team priorities.

For feedback, commentary, requests, please reach out to the author/maintainer, [Rudra Chakraborty](mailto:rudracha@buffalo.edu).

For questions specific to SimpleSAMLphp or Globus Auth, please contact the developers for those projects, we cannot provide support for them. Questions related to XDMoD but not to this module should be put through official XDMod support channels.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~122 days

Total

4

Last Release

2798d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/683012?v=4)[Ben Plessinger](/maintainers/plessbd)[@plessbd](https://github.com/plessbd)

![](https://www.gravatar.com/avatar/4c68ffbc1eb9ca5ee60f08e64645ed7717c5a64476b7e2b4e7ea1e80578ed93d?d=identicon)[ubccr](/maintainers/ubccr)

![](https://www.gravatar.com/avatar/56db6499672616d442e7cdcdcece5962f42d63445155a48066a7307b95586d56?d=identicon)[chakrabortyr](/maintainers/chakrabortyr)

---

Top Contributors

[![rnchakraborty](https://avatars.githubusercontent.com/u/201136040?v=4)](https://github.com/rnchakraborty "rnchakraborty (11 commits)")[![plessbd](https://avatars.githubusercontent.com/u/683012?v=4)](https://github.com/plessbd "plessbd (1 commits)")[![smgallo](https://avatars.githubusercontent.com/u/2301909?v=4)](https://github.com/smgallo "smgallo (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ubccr-simplesamlphp-module-authglobus/health.svg)

```
[![Health](https://phpackages.com/badges/ubccr-simplesamlphp-module-authglobus/health.svg)](https://phpackages.com/packages/ubccr-simplesamlphp-module-authglobus)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M192](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[drupalauth/simplesamlphp-module-drupalauth

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

25305.4k1](/packages/drupalauth-simplesamlphp-module-drupalauth)

PHPackages © 2026

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