diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e1c7105..a6ef83d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [unreleased] + +### Changed +- Stop adding ?schema=openid to userinfo endpoint URL. #449 + ## [1.0.1] - 2024-09-13 ### Fixed diff --git a/src/OpenIDConnectClient.php b/src/OpenIDConnectClient.php index 07c00540..7b859c56 100644 --- a/src/OpenIDConnectClient.php +++ b/src/OpenIDConnectClient.php @@ -1261,9 +1261,6 @@ protected function decodeJWT(string $jwt, int $section = 0) { public function requestUserInfo(string $attribute = null) { $user_info_endpoint = $this->getProviderConfigValue('userinfo_endpoint'); - $schema = 'openid'; - - $user_info_endpoint .= '?schema=' . $schema; //The accessToken has to be sent in the Authorization header. // Accept json to indicate response type