PHP code example of krdinesh / oauth2-greenhouse
1. Go to this page and download the library: Download krdinesh/oauth2-greenhouse 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/ */
krdinesh / oauth2-greenhouse example snippets
$options = [
'scope' => ['candidates.views','candidates.create','jobs.views'] // array or string
];
$authorizationUrl = $provider->getAuthorizationUrl($options);