PHPackages                             rookie-me/subsites-multilogin - 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. rookie-me/subsites-multilogin

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

rookie-me/subsites-multilogin
=============================

Allow a single login process to propogate across multiple Subsite Domains.

0.1.2(8y ago)12171BSD-3-ClausePHP

Since Jun 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rookie-me/subsites-multilogin)[ Packagist](https://packagist.org/packages/rookie-me/subsites-multilogin)[ RSS](/packages/rookie-me-subsites-multilogin/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (5)Used By (0)

silverstripe-subsites-multilogin
================================

[](#silverstripe-subsites-multilogin)

Extension for [silverstripe-subsites](https://github.com/silverstripe/silverstripe-subsites) to allow a single login process to propogate across multiple Subsite Domains. This is accomplished by injecting a new `MemberLoginForm` and processing a request on each domain using existing Silverstripe database columns (`TempID` and `AutoLoginHash`). This allows a seamless transition between subsite domains even across top-level domains (i.e. not restricted to subdomains of the same site).

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

[](#requirements)

- SilverStripe ^3.6 (may work on earlier versions - haven't tested this)
- Subsites
- Multiple Subsitedomains

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

[](#installation)

Use composer to install this module

`composer require rookie-me/subsites-multilogin`

After a `dev/build`, go to the CMS &gt; Subsites &gt; Domains. Here you'll be able to set the `LoginWith` domains, and see which domains are using this domain to log in.

It's also recommended (but not required) that you alter the `url_segment` for the `SubsiteLogin_Controller`. This will require the following:

```
Director:
  rules:
    'fantasticnewendpoint' : 'SubsiteLogin_Controller'

SubsiteLogin_Controller:
  url_segment: "fantasticnewendpoint"
```

License
-------

[](#license)

See [License](license.md)

Maintainers
-----------

[](#maintainers)

- Tim Larsen

Notes
-----

[](#notes)

- All domains should be https (generally speaking, but especially for any login functionality)
- The `logInUserAndRedirect` function has been overwritten, but *most* of the original functionality should remain - the "Remember me" functionality *may* be broken
- If a Member is already logged in on one of the domains, they are not logged out
- This is not a single session persisting across multiple domains; it is simply mimicking a user logging in to each domain individually through redirects
- The maximum number of redirects allowed by modern browsers is 16. On IE8, this limit is dropped to 10. See
- I'd recommend having a "Loading" screen that stops users from clicking when the Member Login form passes validation and is attempting login - the multisite login process can take a while!
- This should be tested *thoroughly* before being used on production

Bugtracker
----------

[](#bugtracker)

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers. I'm always on the silverstripe-users Slack channel if you've got any ideas on how to improve this module.

TODO
----

[](#todo)

- Verify referrer on `SubsiteLogin_Controller`
- Offer multiple methods of logging in
- Better error logging/handling
- Offer solutions that don't overwrite MemberLoginForm
- Log (in session?) which subsitedomain was the original entry point for login

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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 ~75 days

Total

3

Last Release

3137d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dbb5c4276be1d6541ec0fc0fe49071b2fbb60ba153aa706a6c35c1984f69713?d=identicon)[tim-lar](/maintainers/tim-lar)

---

Top Contributors

[![tim-lar](https://avatars.githubusercontent.com/u/2898709?v=4)](https://github.com/tim-lar "tim-lar (10 commits)")

---

Tags

silverstripesilverstripe-modulesilverstripe-subsitessilverstripecmssubsitesmultilogin

### Embed Badge

![Health badge](/badges/rookie-me-subsites-multilogin/health.svg)

```
[![Health](https://phpackages.com/badges/rookie-me-subsites-multilogin/health.svg)](https://phpackages.com/packages/rookie-me-subsites-multilogin)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.3k](/packages/silverstripe-cms)[silverstripe/contentreview

Flags pages for periodical author review (incl. reporting)

22267.5k5](/packages/silverstripe-contentreview)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[froog/silvergraph

Generates data model visualisations from SilverSripe DataObjects, displaying database fields, relations and ancestry

425.7k](/packages/froog-silvergraph)[axyr/silverstripe-adminlogin

Use a custom login screen to log in to the admin section

165.8k](/packages/axyr-silverstripe-adminlogin)[twohill/silverstripe-homepagefordomain

Allows to designate a page anywhere in the tree as the homepage for a specific domain, overruling the usual homepage (which is identified by the 'home' URLSegment).

131.3k](/packages/twohill-silverstripe-homepagefordomain)

PHPackages © 2026

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