From 909d2771550652ef1780fc41bc79bdcbb9b908dd Mon Sep 17 00:00:00 2001 From: Tobias Bengfort Date: Tue, 7 Jan 2025 15:37:37 +0100 Subject: [PATCH] OAuth2: enable state parameter by default --- .../oauth/src/OAuth/OAuth2/Service/AbstractService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php b/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php index e5c5878..8c1eb65 100644 --- a/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php +++ b/vendor/lusitanian/oauth/src/OAuth/OAuth2/Service/AbstractService.php @@ -42,7 +42,7 @@ public function __construct( TokenStorageInterface $storage, $scopes = [], ?UriInterface $baseApiUri = null, - $stateParameterInAutUrl = false, + $stateParameterInAutUrl = true, $apiVersion = '' ) { parent::__construct($credentials, $httpClient, $storage);