Drupal8 / Thunder
Install Harbourmaster SSO plugin
Github Link https://github.com/valiton/harbourmaster-sso-drupal8-plugin
zip to install: https://github.com/valiton/harbourmaster-sso-drupal8-plugin/archive/8.x-1.x.zip
The Module is also on Packagist https://packagist.org/packages/valiton/harbourmaster
Install the module
Activate the module
- Configure the module
The Drupal Module needs to be configured to communicate to Harbourmaster the API and includes the widget js from the usermanager. Once the Drupal module has been correctly configured, users will be able to register and log in using
HMS API CONFIGURATION
URL to Harbourmaster endpoint Includes protocol and domain (optionally port and/or path prefix). This Url is used for server to server communication, it is not used by the browser. e.g. "http://harbourmaster.thunder.dev:8080" Required for the multi domain setup. Note if you user Docker Native for Mac use the IP address of your computer e.g. 192.x.x.x
Harbourmaster tenant to use May only contain a-z A-Z 0-9 . e.g. "thunder"
HMS lookup cache TTL Duration during which the HMS session lookup is cached. e.g. "60"
- URL to usermanager Includes protocol and domain (optionally port and/or path prefix). This Url will be used to load the Usermanger Widget, it is only used by the web browser, not for server to server communication. e.g. "http://usermanager.thunder.dev"
HMS TOKEN CONFIGURATION
- SSO cookie name Name of the cookie that contains the HMS token (usually "token"). May only contain a-z A-Z 0-9 .-\..SSO _ e.g. "token"
Name of the domain which the SSO cookie is set on. e.g. ".thunder.dev"
SSO cookie lifetime Duration in seconds in which the cookie stays valid. When set to 0, the cookie will expire after browser close.
e.g. 2592000 (30 days)
CROSS DOMAIN AUTHENTICATION CONFIGURATION
Cross domain login
Set this path to what the Usermanager uses to authenticate the user with this domain. e.g. /hms_cross_domain_login
Cross domain logout
Set this path to what the Usermanager uses to invalidate the user's session with this domain. e.g. /hms_cross_domain_logout