acquia / blt-simplesamlphp
SimpleSAMLPhp integration for Acquia BLT
Installs: 536 708
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 3
Requires
- drupal/simplesamlphp_auth: ^3.0
This package is not auto-updated.
Last update: 2023-04-18 00:23:39 UTC
README
This project is no longer maintained
Acquia recommends using the SAML Authentication module instead of SimpleSAMLphp. For more information see https://docs.acquia.com/site-factory/manage/sso
Overview
This is an Acquia BLT plugin providing integration with SimpleSAMLPhp.
This plugin provides a set of commands in the simplesamlphp
namespace that will initialize SimpleSAMLPhp integration using a set of template configuration files.
This plugin is community-supported. Acquia does not provide any direct support for this software or provide any warranty as to its stability.
Installation and usage
To use this plugin, you must already have a Drupal project using BLT 12 or higher.
In your project, require the plugin with Composer:
composer require acquia/blt-simplesamlphp
This plugin provides commands for automating the setup process for SimpleSAMLphp and assists in deploying configuration files to Acquia Cloud. You must already be familiar with the process of configuring SimpleSAMLphp as described in the instructions for using SimpleSAMLphp on Acquia Cloud.
Before proceeding, prepare your SimpleSAMLphp configuration by completing the following tasks:
-
Run the following command to perform initial installation tasks:
blt recipes:simplesamlphp:init
Tasks completed by the initialization command include the following:
- Copies configuration files to
${project.root}/simplesamlphp/config
. - Adds a
simplesamlphp
property to theblt/blt.yml
file, which instructs Acquia BLT to include your SimpleSAMLphp configuration during deployments to Acquia Cloud. - Creates a symbolic link in the docroot to the web-accessible
directory of the
simplesamlphp
library.
- Copies configuration files to
-
Follow the instructions for using SimpleSAMLphp on Acquia Cloud to update the configuration files located in the
${project.root}/simplesamlphp/config
directory. -
Run the following command to copy the configuration files to the local SimpleSAML library:
blt source:build:simplesamlphp-config
Note: The
source:build:simplesamlphp-config
command is strictly for local use, and because the command overwrites vendor files, running the command will not make any changes that are visible to Git.
SimpleSAMLphp should now be ready for testing in your local environment. When
you are ready to test in an Acquia Cloud environment, commit your configuration
files and deploy a build artifact as usual using blt artifact:deploy
or one
of Acquia BLT's supported continuous integration services. Acquia BLT will add
and commit your configuration files when building a deploy artifact.
License
Copyright (C) 2020 Acquia, Inc.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.