PHP code example of biigle / auth-nfdi

1. Go to this page and download the library: Download biigle/auth-nfdi 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/ */

    

biigle / auth-nfdi example snippets


   'nfdilogin' => [
       'client_id' => env('NFDILOGIN_CLIENT_ID'),
       'client_secret' => env('NFDILOGIN_CLIENT_SECRET'),
       'redirect' => '/auth/iam4nfdi/callback',
   ],