From fcfb29d9a730a9918f68c6dd77d1503157435dc4 Mon Sep 17 00:00:00 2001 From: Shannon McMillan Date: Wed, 19 Jun 2024 23:41:52 -0400 Subject: [PATCH] Added SSO plugin --- composer.json | 1 + composer.lock | 292 ++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 285 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 0032fc4..475cd5b 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,7 @@ "craftcms/ckeditor": "^4.0.6", "craftcms/cms": "^5.0.0", "craftpulse/craft-colour-swatches": "^5.0.0", + "flipboxfactory/saml-sp": "^5.0.0", "lewisjenkins/craft-range-slider": "^5.0.0", "marionnewlevant/twig-perversion": "^5.0.0", "misterbk/mix": "^v1.7.1", diff --git a/composer.lock b/composer.lock index 1d16bec..bd93828 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a47642e0380bc825e88307c58558b586", + "content-hash": "89249987c2292965145228012c20c9be", "packages": [ { "name": "amici/craft-super-dynamic-fields", @@ -2120,6 +2120,182 @@ }, "time": "2024-05-18T18:05:11+00:00" }, + { + "name": "flipboxfactory/keychain", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/flipboxfactory/keychain.git", + "reference": "f11b2f651591fffd32763c3cec4d878f3d150596" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/flipboxfactory/keychain/zipball/f11b2f651591fffd32763c3cec4d878f3d150596", + "reference": "f11b2f651591fffd32763c3cec4d878f3d150596", + "shasum": "" + }, + "require": { + "craftcms/cms": "^5.0.0", + "lib-openssl": "*" + }, + "require-dev": { + "phpunit/phpunit": "^5.0", + "squizlabs/php_codesniffer": "^2.0" + }, + "type": "craft-plugin", + "extra": { + "name": "KeyChain", + "version": "5.0.0", + "schemaVersion": "1.0.0", + "handle": "keychain", + "class": "flipbox\\keychain\\KeyChain", + "developer": "Flipbox Digital", + "developerUrl": "https://www.flipboxdigital.com", + "changelogUrl": "https://raw.githubusercontent.com/flipboxfactory/keychain/master/CHANGELOG.md", + "downloadUrl": "https://github.com/flipboxfactory/keychain/archive/master.zip" + }, + "autoload": { + "psr-4": { + "flipbox\\keychain\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "Key pair management for Craft CMS", + "keywords": [ + "cms", + "craftcms", + "key pair", + "openssl", + "yii2" + ], + "support": { + "docs": "https://github.com/flipboxfactory/keychain", + "email": "support@flipboxfactory.com", + "issues": "https://github.com/flipboxfactory/keychain/issues?state=open", + "rss": "https://github.com/flipboxfactory/keychain/commits/master.atom", + "source": "https://github.com/flipboxfactory/keychain" + }, + "time": "2024-04-17T21:35:03+00:00" + }, + { + "name": "flipboxfactory/saml-core", + "version": "5.0.1", + "source": { + "type": "git", + "url": "https://github.com/flipboxfactory/saml-core.git", + "reference": "a9e00d580ca35df7703f5e6ec9235a27be9ebd5a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/flipboxfactory/saml-core/zipball/a9e00d580ca35df7703f5e6ec9235a27be9ebd5a", + "reference": "a9e00d580ca35df7703f5e6ec9235a27be9ebd5a", + "shasum": "" + }, + "require": { + "craftcms/cms": "^5.0", + "flipboxfactory/keychain": "^5.0.0", + "simplesamlphp/saml2": "^4.1" + }, + "require-dev": { + "codeception/codeception": "^3.0", + "squizlabs/php_codesniffer": "^3.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "flipbox\\saml\\core\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "description": "SAML SSO Core", + "keywords": [ + "SSO", + "cms", + "craftcms", + "federated authentication", + "saml", + "service provider", + "yii2" + ], + "support": { + "docs": "https://github.com/flipboxfactory/saml-core", + "email": "support@flipboxfactory.com", + "issues": "https://github.com/flipboxfactory/saml-core/issues?state=open", + "rss": "https://github.com/flipboxfactory/saml-core/commits/master.atom", + "source": "https://github.com/flipboxfactory/saml-core" + }, + "time": "2024-04-17T23:59:22+00:00" + }, + { + "name": "flipboxfactory/saml-sp", + "version": "5.0.0", + "source": { + "type": "git", + "url": "https://github.com/flipboxfactory/saml-sp.git", + "reference": "62fb75ee623cc0cde41d3e764fe6599b6718b6b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/flipboxfactory/saml-sp/zipball/62fb75ee623cc0cde41d3e764fe6599b6718b6b3", + "reference": "62fb75ee623cc0cde41d3e764fe6599b6718b6b3", + "shasum": "" + }, + "require": { + "craftcms/cms": "^5.0.0", + "flipboxfactory/saml-core": "~5.0.0" + }, + "require-dev": { + "codeception/codeception": "^5.0", + "codeception/module-asserts": "^3.0", + "codeception/module-db": "^3.1", + "codeception/module-yii2": "^1.1", + "craftcms/ecs": "dev-main", + "craftcms/phpstan": "dev-main", + "friendsofphp/php-cs-fixer": "^v3.20.0", + "phpunit/php-code-coverage": "^11.0.3", + "vlucas/phpdotenv": "^5.5" + }, + "type": "craft-plugin", + "extra": { + "name": "SAML Service Provider", + "version": "5.0.0", + "schemaVersion": "2.1.0", + "handle": "saml-sp", + "class": "flipbox\\saml\\sp\\Saml", + "developer": "Flipbox Digital", + "developerUrl": "https://www.flipboxdigital.com", + "changelogUrl": "https://raw.githubusercontent.com/flipboxfactory/saml-sp/master/CHANGELOG.md", + "downloadUrl": "https://github.com/flipboxfactory/saml-sp/archive/master.zip" + }, + "autoload": { + "psr-4": { + "flipbox\\saml\\sp\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "proprietary" + ], + "description": "SAML Service Provider", + "keywords": [ + "SSO", + "cms", + "craftcms", + "federated authentication", + "saml", + "service provider", + "sp", + "yii2" + ], + "support": { + "docs": "https://github.com/flipboxfactory/saml-sp", + "email": "support@flipboxfactory.com", + "issues": "https://github.com/flipboxfactory/saml-sp/issues?state=open", + "rss": "https://github.com/flipboxfactory/saml-sp/commits/master.atom", + "source": "https://github.com/flipboxfactory/saml-sp" + }, + "time": "2024-04-18T00:07:34+00:00" + }, { "name": "giggsey/libphonenumber-for-php", "version": "8.13.37", @@ -7575,6 +7751,48 @@ ], "time": "2024-03-10T08:07:49+00:00" }, + { + "name": "robrichards/xmlseclibs", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/robrichards/xmlseclibs.git", + "reference": "f8f19e58f26cdb42c54b214ff8a820760292f8df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/robrichards/xmlseclibs/zipball/f8f19e58f26cdb42c54b214ff8a820760292f8df", + "reference": "f8f19e58f26cdb42c54b214ff8a820760292f8df", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "php": ">= 5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "RobRichards\\XMLSecLibs\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "A PHP library for XML Security", + "homepage": "https://github.com/robrichards/xmlseclibs", + "keywords": [ + "security", + "signature", + "xml", + "xmldsig" + ], + "support": { + "issues": "https://github.com/robrichards/xmlseclibs/issues", + "source": "https://github.com/robrichards/xmlseclibs/tree/3.1.1" + }, + "time": "2020-09-05T13:00:25+00:00" + }, { "name": "sabberworm/php-css-parser", "version": "v8.5.1", @@ -7757,6 +7975,64 @@ }, "time": "2020-12-15T21:32:01+00:00" }, + { + "name": "simplesamlphp/saml2", + "version": "v4.6.12", + "source": { + "type": "git", + "url": "https://github.com/simplesamlphp/saml2.git", + "reference": "9545abd0d9d48388f2fa00469c5c1e0294f0303e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/simplesamlphp/saml2/zipball/9545abd0d9d48388f2fa00469c5c1e0294f0303e", + "reference": "9545abd0d9d48388f2fa00469c5c1e0294f0303e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-openssl": "*", + "ext-zlib": "*", + "php": ">=7.1 || ^8.0", + "psr/log": "~1.1 || ^2.0 || ^3.0", + "robrichards/xmlseclibs": "^3.1.1", + "webmozart/assert": "^1.9" + }, + "require-dev": { + "mockery/mockery": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "sebastian/phpcpd": "~4.1 || ^5.0 || ^6.0", + "simplesamlphp/simplesamlphp-test-framework": "~0.1.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "v4.2.x-dev" + } + }, + "autoload": { + "psr-4": { + "SAML2\\": "src/SAML2" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Andreas Åkre Solberg", + "email": "andreas.solberg@uninett.no" + } + ], + "description": "SAML2 PHP library from SimpleSAMLphp", + "support": { + "issues": "https://github.com/simplesamlphp/saml2/issues", + "source": "https://github.com/simplesamlphp/saml2/tree/v4.6.12" + }, + "time": "2024-04-25T14:10:08+00:00" + }, { "name": "spacecatninja/imager-x", "version": "5.0.0", @@ -9193,16 +9469,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" + "reference": "0424dff1c58f028c451efff2045f5d92410bd540" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540", "shasum": "" }, "require": { @@ -9252,7 +9528,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" }, "funding": [ { @@ -9268,7 +9544,7 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-iconv", @@ -13335,5 +13611,5 @@ "platform-overrides": { "php": "8.2" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }