We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b91ac9 + f5ce648 commit d4e8b66Copy full SHA for d4e8b66
src/Omniphx/Forrest/Authentications/WebServer.php
@@ -126,7 +126,9 @@ public function callback()
126
127
// Encrypt token and store token and in storage.
128
$this->storage->putTokenData($jsonResponse);
129
- $this->storage->putRefreshToken($jsonResponse['refresh_token']);
+ if (isset($jsonResponse['refresh_token'])) {
130
+ $this->storage->putRefreshToken($jsonResponse['refresh_token']);
131
+ }
132
133
// Store resources into the storage.
134
$this->storeResources();
0 commit comments