Skip to content

Commit 808027b

Browse files
authored
Stop adding ?schema=openid to userinfo endpoint URL. (#449)
1 parent dc0ef65 commit 808027b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [unreleased]
8+
9+
### Changed
10+
- Stop adding ?schema=openid to userinfo endpoint URL. #449
11+
712
## [1.0.1] - 2024-09-13
813

914
### Fixed

src/OpenIDConnectClient.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,9 +1261,6 @@ protected function decodeJWT(string $jwt, int $section = 0) {
12611261
public function requestUserInfo(string $attribute = null) {
12621262

12631263
$user_info_endpoint = $this->getProviderConfigValue('userinfo_endpoint');
1264-
$schema = 'openid';
1265-
1266-
$user_info_endpoint .= '?schema=' . $schema;
12671264

12681265
//The accessToken has to be sent in the Authorization header.
12691266
// Accept json to indicate response type

0 commit comments

Comments
 (0)