Allow a single login process to propogate across multiple Subsite Domains.
Extension for 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 (
AutoLoginHash). This allows a seamless transition between subsite domains even across top-level domains (i.e. not restricted to subdomains of the same site).
Use composer to install this module
composer require rookie-me/subsites-multilogin
dev/build, go to the CMS > Subsites > 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"
logInUserAndRedirectfunction has been overwritten, but most of the original functionality should remain - the "Remember me" functionality may be broken
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:
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
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.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem