Domain User Login
This module provides a dropdown menu in the administration toolbar that allows users to log into different domains within a multisite setup. It uses Drupal's one-time login links to provide a seamless, secure single sign-on experience, automatically logging the user into the selected domain and returning them to the same page they were viewing.
The Domain User Login module provides a seamless, stateless single sign-on (SSO) experience for administrators navigating across different domains in a multisite setup. By leveraging Drupal core's one-time login links, this module safely bridges authentication across domains.
Features
This module provides a dropdown directly into the administration toolbar. When an authenticated user clicks on a domain from the list, the module generates core's secure, one-time login link. The user is then seamlessly redirected to the new domain, automatically logged and lands on the exact same relative path they were viewing.
Post-Installation
There are no configuration pages required. Once you enable the module:
1. Ensure your roles have the access toolbar permission.
2. Ensure you have active domains configured in your Domain Access settings.
3. The "Switch Domain" dropdown will automatically appear in your admin toolbar and populate with your active domains.
Additional Requirements
This project requires:
- Domain Access from Domain module
- The Drupal core Toolbar module.
Recommended modules/libraries
No additional modules or libraries are required to enhance this project.
Supporting this Module
Contributions, bug reports, and feature requests are always welcome in the issue queue.