diff --git a/bootstrap/helpers/github.php b/bootstrap/helpers/github.php index c544ddcfc..be4ae65c5 100644 --- a/bootstrap/helpers/github.php +++ b/bootstrap/helpers/github.php @@ -51,6 +51,7 @@ function generateGithubToken(GithubApp $source, string $type) $algorithm = new Sha256; $tokenBuilder = (new Builder(new JoseEncoder, ChainedFormatter::default())); $now = CarbonImmutable::now()->setTimezone('UTC'); + $now = $now->setTime($now->format('H'), $now->format('i'), $now->format('s')); $jwt = $tokenBuilder ->issuedBy($source->app_id)