aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-10-05 11:33:28 +0000
committerMario <mario@mariovavti.com>2023-10-05 11:33:28 +0000
commit6920fb2793265e5c9cdcdc8325398b07f216f184 (patch)
treebfd9458aa25c602b2e1c63740fa14e1b6002b15e /vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php
parent3d1171de8d72d9c400c76fed6e947fef80fa9804 (diff)
downloadvolse-hubzilla-6920fb2793265e5c9cdcdc8325398b07f216f184.tar.gz
volse-hubzilla-6920fb2793265e5c9cdcdc8325398b07f216f184.tar.bz2
volse-hubzilla-6920fb2793265e5c9cdcdc8325398b07f216f184.zip
composer update oauth2 server
Diffstat (limited to 'vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php')
-rw-r--r--vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php
index cf040c2bc..1fbc6666d 100644
--- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php
+++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/Server.php
@@ -172,6 +172,7 @@ class Server implements ResourceControllerInterface,
'enforce_state' => true,
'require_exact_redirect_uri' => true,
'allow_implicit' => false,
+ 'enforce_pkce' => false,
'allow_credentials_in_request_body' => true,
'allow_public_clients' => true,
'always_issue_new_refresh_token' => false,
@@ -577,7 +578,7 @@ class Server implements ResourceControllerInterface,
}
}
- $config = array_intersect_key($this->config, array_flip(explode(' ', 'allow_implicit enforce_state require_exact_redirect_uri')));
+ $config = array_intersect_key($this->config, array_flip(explode(' ', 'allow_implicit enforce_state require_exact_redirect_uri enforce_pkce')));
if ($this->config['use_openid_connect']) {
return new OpenIDAuthorizeController($this->storages['client'], $this->responseTypes, $config, $this->getScopeUtil());