From 0f2e342b28fe5c8e5c0384f3315d72b89c017bcc Mon Sep 17 00:00:00 2001 From: Julien Simonet Date: Wed, 8 Jan 2025 11:07:19 +0100 Subject: [PATCH] Add redirect_uri in refreshToken parameters --- src/OpenIDConnectClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OpenIDConnectClient.php b/src/OpenIDConnectClient.php index 07c00540..71d0280c 100644 --- a/src/OpenIDConnectClient.php +++ b/src/OpenIDConnectClient.php @@ -994,6 +994,7 @@ public function refreshToken(string $refresh_token) { 'client_id' => $this->clientID, 'client_secret' => $this->clientSecret, 'scope' => implode(' ', $this->scopes), + 'redirect_uri' => $this->getRedirectURL(), ]; # Consider Basic authentication if provider config is set this way