Used to maintain SSO for ANVAR's Pterodactyl Panel
Dependencies Required: NPM Yarn
Build Instructions:
- composer require laravel/socialite
- composer require socialiteproviders/authentik
- php artisan view:clear && php artisan config:clear
- cd /var/www/pterodactyl
- export NODE_OPTIONS=--openssl-legacy-provider
- yarn build:production
Troubleshooting:
If a Laravel error occurs for the clockwise index it is likely a permisson error:
sudo chown -R www-data:www-data /var/www/pterodactyl/storage/clockwork/index
The above command should solve the problem.