diff --git a/config/scribe.php b/config/scribe.php index 746d5123..15945dce 100644 --- a/config/scribe.php +++ b/config/scribe.php @@ -143,8 +143,8 @@ $now = new \DateTimeImmutable(); $token = $tokenBuilder ->issuedBy(ISSUING_BODY) - ->issuedAt(now()) - ->expiresAt(now()->addMinute(1)) + ->issuedAt(now()->toDateTimeImmutable()) + ->expiresAt(now()->addSeconds(30)->toDateTimeImmutable()) ->getToken($algorithm, $signingKey); $jwt = $token->toString();