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 6795c36 commit 08bd60fCopy full SHA for 08bd60f
src/Client.php
@@ -217,7 +217,7 @@ public function authenticate(): bool
217
throw new ClientException('User did not authorize openid scope.');
218
}
219
220
- if (Session::get('oidc_nonce') !== $request->get('nonce')) {
+ if ($this->enable_nonce && Session::get('oidc_nonce') !== $request->get('nonce')) {
221
throw new ClientException("Generated nonce is not equal to the one returned by the server.");
222
223
Session::remove('oidc_nonce');
0 commit comments