PHP code example of julabo / keycloak_roles_yourls
1. Go to this page and download the library: Download julabo/keycloak_roles_yourls 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/ */
julabo / keycloak_roles_yourls example snippets
define('OIDC_ADMIN_ROLE', 'YourCustomAdminRole');
define('OIDC_USER_ROLE', 'YourCustomUserRole');
php define('YOURLS_DEBUG', true);