Handle reconnect events for websocket errors
This commit is contained in:
parent
910a2d7a23
commit
c4df534722
2 changed files with 8 additions and 3 deletions
|
@ -55,7 +55,7 @@ class NodeJWTService
|
|||
|
||||
$builder = (new Builder)->issuedBy(config('app.url'))
|
||||
->permittedFor($node->getConnectionAddress())
|
||||
->identifiedBy(hash('sha256', $identifiedBy), true)
|
||||
->identifiedBy(md5($identifiedBy), true)
|
||||
->issuedAt(CarbonImmutable::now()->getTimestamp())
|
||||
->canOnlyBeUsedAfter(CarbonImmutable::now()->subMinutes(5)->getTimestamp());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue