glue-agency / craft-glue-auth
Use your Glue Google Account to login to any CMS
5.0.1
2024-05-30 14:39 UTC
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- illuminate/encryption: ^10.0
- nesbot/carbon: ^2.68.1
- spatie/url: ^2.2.0
README
This plugin adds a "G" button to the Craft Admin login. This simplifies logging in to any CMS set up by Glue-Agency. Works for Local and Remote environments using a Google OAuth proxy.
Requirements
This plugin requires Craft CMS 5.0.0 or later, and PHP 8.2 or later.
Installation
Create a glue-auth.php
file in the /config
folder with this config
return [
// This token is used to decrypt data sent
// from the oAuth proxy
'encryptionToken' => getenv('GLUE_AUTH_ENCRYPTION_TOKEN'),
];
Finally add the env vars to your .env and .env.example.
With Composer
Open your terminal and run the following commands
# Require the plugin through composer
composer require glue-agency/craft-glue-auth
# Install the plugin
php craft plugin/install glue-auth