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.
1 parent 8c4aba4 commit ec4e3acCopy full SHA for ec4e3ac
src/Auth0.php
@@ -309,15 +309,14 @@ public function exchange(
309
$codeVerifier = null;
310
$user = null;
311
312
+ $this->clear(false);
313
$this->deferStateSaving();
314
315
if ($code === null) {
316
$this->clear();
317
throw \Auth0\SDK\Exception\StateException::missingCode();
318
}
319
- $this->clear(false);
320
-
321
if ($state === null || ! $this->getTransientStore()->verify('state', $state)) {
322
323
throw \Auth0\SDK\Exception\StateException::invalidState();
0 commit comments