composer.json - Require league/oauth2-{client,google}
authorTim Otten <totten@civicrm.org>
Wed, 21 Oct 2020 22:13:31 +0000 (15:13 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 2 Nov 2020 22:35:51 +0000 (14:35 -0800)
Note: This oauth2-client matches the constraint that's declared in civixero, which (in my
local copy of `universe`) is the only published extension that uses the same library.

The oauth2-google is included because has special requirements around
'prompt' which conflict with `GenericProvider`. We could potentially resolve that other
ways (eg rework `CiviGenericProvider`), but this seems easier right now.

composer.json

index a7fd40d520727feb465bc282fcb1edcd28c154d7..8f4edd6c055693abe14b9750f73a326105fef0ed 100644 (file)
@@ -74,6 +74,8 @@
     "adrienrn/php-mimetyper": "0.2.2",
     "civicrm/composer-downloads-plugin": "^3.0",
     "league/csv": "^9.2",
+    "league/oauth2-client": "^2.4",
+    "league/oauth2-google": "^3.0",
     "tplaner/when": "~3.0.0",
     "xkerman/restricted-unserialize": "~1.1",
     "typo3/phar-stream-wrapper": "^2 || ^3.0",