Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: Expiration time claim ('exp') must be a numeric value

peaklabs-devdeec885fd989
diff --git a/bootstrap/helpers/github.php b/bootstrap/helpers/github.php
index c544ddcfcc..be4ae65c58 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)