Blog

/** * Extend JWT Token Expiration for Pulsar Software Center */ add_filter(‘jwt_auth_expire’, function($expire, $issued_at) { // Set token to expire in 10 years (in seconds) // 10 years * 365 days * 24 hours * 60 minutes * 60 seconds return time() + (10 * 365 * 24 * 60 * 60); }, 10, 2);