1. Go to this page and download the library: Download nerdcel/kirby-oauth2-email 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/ */
nerdcel / kirby-oauth2-email example snippets
'nerdcel.kirby-oauth2-email' => [
'callback-path' => 'callback-path', // default: 'email/oauth2'
'enabled' => true, // default: false
'email' => '[email protected]',
'service' => 'azure', // google, microsoft, yahoo, azure
'client-id' => 'your-client-id',
'client-secret' => 'your-client-secret',
'tenant-id' => 'your-tenant-id', // only for azure
'refresh-token' => 'your-refresh-token', // received from the first login
]
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.