GoonAuth is the multi-game authentication system for goon games organizations. It provides a complete registration system including sponsorship and (currently) some basic admin functions.
GoonAuth was designed to verify users on the Something Awful forums and to register users to an LDAP system. It also grant J4G to register and apply in non-SA organizations.
GoonAuth was originally created by sct for the ArcheAge goons. You can view the original project here: https://github.com/sct/GoonAuth and refactored by Nalin from the Star Citizen goons. You can view the original project here: https://github.com/LoneBoco/GoonAuth
Each User is assigned to a single Group. Each User can have characters in multiple Games (called a GameUser). Each GameUser can belong to an Organization.
GoonAuth comes with:
- Discord authentication
The game module system was developed to provide custom functionality for Games and Organizations.
- modules/games
- modules/organizations
GoonAuth comes with modules for:
- Eve Echoes
- Star Citizen
- MechWarrior Online
Modules can override views. For game modules, this is the search path:
- modules/games/views/<game abbr in DB>/...
- resources/views/...
For org modules, this is the search path:
- modules/organizations/views/<game abbr in DB>/<org abbr in DB>/...
- modules/organizations/views/<org abbr in DB>/...
- resources/views/...
See the pre-existing modules for examples on how views and e-mails can be altered.
- apache2
- php
- php-mcrypt
- php-gd
- php-curl
- php-ldap
- php-mbstring
- php-dom
- libapache2-mod-php
- composer
sudo phpenmod mcrypt
sudo phpenmod curl
sudo phpenmod ldap
sudo phpenmod mbstring
sudo phpenmod dom
sudo a2enmod rewrite
sudo service apache2 restart
composer global require "laravel/installer"
git clone https://github.com/Silmerias/GoonAuth.git
cd GoonAuth
composer install
cp .env.example .env
vim .env
php artisan key:generate
chmod -R g+w storage
chmod -R g+w bootstrap/cache
composer dump-autoload
php artisan optimize
php artisan migrate:install
php artisan migrate
php artisan db:seed
php artisan migrate:rollback
php artisan migrate
php artisan db:seed