Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/OpenIDConnectClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down