Closed birkland closed 3 years ago
This PR has no dependency differences with the base branch
@birlkand, the thing that needs to change is the variable in the .env
file. This PR created a new env var in the drupal environment named: DRUPAL_JWT_EXPIRY_INTERVAL
This is what should be set as it will override the jwt-expiry
in the settings.local.php file:
$config['islandora.settings']['jwt_expiry'] = str_replace("'", "", str_replace('"', '', getenv('DRUPAL_JWT_EXPIRY_INTERVAL') ?: '+2 hour'));
Format itself (of +168 hour
) seems fine.
Closed in favor of https://github.com/jhu-idc/idcApp-k8s/issues/81
This virtually assures that JWT tokens won't expire before events are processed from a slow queue. Based on Danny's recommendation for very long JWT expiry times to avoid cascading failure.
Resolves #246