LaravelPackages.net
Acme Inc.
Toggle sidebar
tobymaxham/zhylon-oauth

Zhylon OAuth2 Provider for Laravel Socialite

7
0
1.0.0
About tobymaxham/zhylon-oauth

tobymaxham/zhylon-oauth is a Laravel package for zhylon oauth2 provider for laravel socialite. It currently has 0 GitHub stars and 7 downloads on Packagist (latest version 1.0.0). Install it with composer require tobymaxham/zhylon-oauth. Discover more Laravel packages by tobymaxham or browse all Laravel packages to compare alternatives.

Last updated

Zhylon OAuth2 Provider for Laravel Socialite

Latest Version on Packagist Tests Total Downloads


Installation

composer require tobymaxham/zhylon-oauth

Configuration & Basic Usage

As a registered MX-User or Team Member at Zhylon Systems, you can create an OAuth-Clients for your application.

Add configuration to config/services.php

'zhylon' => [    
   'client_id' => env('ZHYLON_CLIENT_ID'),  
   'client_secret' => env('ZHYLON_CLIENT_SECRET'),  
   'redirect' => env('ZHYLON_REDIRECT_URI'), 
],

If you need to configure another Zhylon-Server-Instance, you can also configure this instance by adding the following configuration:

'zhylon' => [
   ...
   'instance' => env('ZHYLON_INSTANCE_URI', 'https://zhylon.de'),
],

Usage

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

return Socialite::driver('zhylon')->redirect();

Returned User fields

  • id
  • name
  • email
  • profile_photo_url

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments