This package is a LaravelSocialite driver for the Zhylon oAuth service. To register for the service visit https://id.zhylon.net.
composer require zhylon/zhylon-authSince the package will fill the user model with the data from the oAuth provider,
you need to add some fields to your user model fillable array.
protected $fillable = [
'zhylon_id',
'zhylon_token',
'zhylon_refresh_token',
];php artisan vendor:publish
php artisan migrateChange you .env file:
ZHYLON_AUTH_CLIENT_ID=YOUR_CLIENT_ID
ZHYLON_AUTH_CLIENT_SECRET=YOUR_CLIENT_SECRET
ZHYLON_AUTH_CALLBACK_WEBSITE="https://your-website.com"If you want you could also change some project specific settings:
ZHYLON_AUTH_SITE_PATH="/auth/zhylon"
ZHYLON_AUTH_BASE_URI="https://id.zhylon.net"
ZHYLON_AUTH_HOME="/dashboard"Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you've found a bug regarding security please mail git@maxham.de instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.