Skip to content

Commit

Permalink
Add Composer definition to enable Composer installs via git
Browse files Browse the repository at this point in the history
  • Loading branch information
tkiehne committed Oct 13, 2020
1 parent 68dc03c commit 6154a10
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
24 changes: 24 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]",
"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"
}

0 comments on commit 6154a10

Please sign in to comment.