Skip to content

v14 compatibility - #233

Closed
svewap wants to merge 17 commits into
xperseguers:core-v14from
svewap:master
Closed

v14 compatibility#233
svewap wants to merge 17 commits into
xperseguers:core-v14from
svewap:master

Conversation

@svewap

@svewap svewap commented Nov 18, 2025

Copy link
Copy Markdown

No description provided.

@liayn

liayn commented Nov 21, 2025

Copy link
Copy Markdown
Collaborator

Thanks for your contribution!
Please also add a note to the CHANGELOG.md

@liayn
liayn self-requested a review November 21, 2025 09:54
@liayn liayn added this to the v5 milestone Nov 21, 2025

@liayn liayn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update changelog too

@liayn

liayn commented Dec 1, 2025

Copy link
Copy Markdown
Collaborator

The MR has conflicts currently. Can you please resolve those too?

@liayn

liayn commented Feb 19, 2026

Copy link
Copy Markdown
Collaborator

@svewap Can you please resolve the conflicts?

# Conflicts:
#	Classes/OidcConfiguration.php
#	composer.json
Comment thread Classes/OidcConfiguration.php Outdated
@liayn

liayn commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator

This still lacks the changelog doc entry, but I'll merge and add it myself.

svewap and others added 7 commits April 14, 2026 11:52
… TypoScript setup during OIDC authentication
Guzzle's PrepareBodyMiddleware sets Content-Length as int via
Utils::modifyRequest. TYPO3's PSR-7 Message::withHeader() is
strict-string and rejects non-string values with
InvalidArgumentException #1436717266, breaking every OIDC token exchange
(/redirect-to-login/?logintype=login&tx_oidc[code]=...). The injected
RequestFactoryInterface resolves to TYPO3's factory in a TYPO3 context,
so the request that goes through the Guzzle client stack ends up being
TYPO3-strict instead of Guzzle-lax.

Switching to a Guzzle Request directly keeps the OIDC server-to-server
HTTP stack consistent: Guzzle middlewares populate a Guzzle Request, no
strict-string contract is violated.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@liayn

liayn commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

I added the site set now with 1aa62b8.
The remainder is a v14 update, which we'll handle separately.

// The Causal\Oidc HTTP flow is purely server-to-server through the
// Guzzle client, so a Guzzle Request is the correct PSR-7 implementation
// here regardless of the injected RequestFactoryInterface.
$request = new GuzzleRequest($method, $uri);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what's broken here. this line has been working all the time, why is it now broken?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a separate issue for this. Thanks.

@liayn liayn changed the title add site set v14 compatibility Jul 24, 2026
@liayn liayn modified the milestones: v5, v6 Jul 24, 2026
@liayn
liayn changed the base branch from master to core-v14 August 9, 2026 12:42
@liayn liayn self-assigned this Aug 9, 2026
@liayn

liayn commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

We meanwhile changed quite a bit in our core-v14 branch. I hope it's okay to close this PR therefore and continue with #242

@liayn liayn closed this Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants