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