diff --git a/README.md b/README.md index b0f83c5..894ea0b 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,23 @@ Such a mapping may look like this depending on your Shibboleth configuration: ## Installation +To install via Composer, add a repository to your composer.json then install as usual via Composer: + +```` +{ + "repositories": [ + { + "type": "vcs", + "url": "https://github.com/deohs/uwauth" + } + ], + "require": { + "drupal/uwauth": "~2.2" + } +} +```` + + In addition to enabling the module, you need to modify the `.htaccess` at the document root, or its equivalent in your vhost definition, to avoid having URLs needed by the Shibboleth SP being rewritten. diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..7d8d668 --- /dev/null +++ b/composer.json @@ -0,0 +1,24 @@ +{ + "name": "drupal/uwauth", + "description": "Provides authentication and role assignment with Shibboleth, and UW Groups or Active Directory.", + "type": "drupal-module", + "homepage": "https://github.com/deohs/uwauth", + "authors": [ + { + "name": "John Yocum (jtyocum)", + "role": "Creator" + }, + { + "name": "Thomas Kiehne (tkiehne)", + "email": "tkiehne@uw.edu", + "homepage": "https://www.drupal.org/u/tkiehne", + "role": "Maintainer" + } + ], + "support": { + "issues": "https://github.com/deohs/uwauth/issues", + "source": "https://github.com/deohs/uwauth" + }, + "license": "GPL-3.0-or-later", + "minimum-stability": "dev" +}