PHP code example of tobymaxham / zhylon-oauth

1. Go to this page and download the library: Download tobymaxham/zhylon-oauth library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tobymaxham / zhylon-oauth example snippets


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

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

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