GoonAuth is the multi-game authentication system for the FLJK Goonrathi. 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. If you don't wish to verify users by their SA account, you must re-program the RegisterController. In the future this will change to the module system that Games and Organizations use.
GoonAuth was originally created by sct for the ArcheAge goons. You can view the original project here: https://github.com/sct/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.
The module system was developed to provide custom functionality for Games and Organizations.
- modules/games
- modules/organizations
GoonAuth comes with modules for:
- MechWarrior Online
- Star Citizen
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/LoneBoco/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