Installation
Requirements
This plugin requires Craft CMS 4.0 or later.
Installation
To install the plugin, follow these instructions.
Open your terminal and go to your Craft project:
cd /path/to/project
Then tell Composer to load the plugin:
composer require jamesedmonston/graphql-authentication
In the Control Panel, go to Settings → Plugins and click the “Install” button for GraphQL Authentication.
Reducing Installation Size
To reduce the installation size of the required Google packages by around 46MB, follow these instructions.
Add
"pre-autoload-dump": "Google\\Task\\Composer::cleanup"
to yourcomposer.json
'sscripts
block.Add
"google/apiclient-services": ["Oauth2"]
to yourcomposer.json
'sextra
block.