Skip to content

Implement form_post response mode#337

Open
Harm-r wants to merge 14 commits into
simplesamlphp:wip-version-7from
Harm-r:wip-version-7-form-post
Open

Implement form_post response mode#337
Harm-r wants to merge 14 commits into
simplesamlphp:wip-version-7from
Harm-r:wip-version-7-form-post

Conversation

@Harm-r
Copy link
Copy Markdown

@Harm-r Harm-r commented May 19, 2026

This pull request implements support for the form_post response mode, specifically:

To achieve this, I've refactored the code to use an instance of the ResponseModeInterface for returning responses, instead of a hardcoded queryDelimiter parameter.

This work has been done during the 11th cycle of the T&I Incubator at GÉANT.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

❌ Patch coverage is 41.28440% with 128 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.88%. Comparing base (6342151) to head (5460a76).

Files with missing lines Patch % Lines
src/Server/Exceptions/OidcServerException.php 0.00% 47 Missing ⚠️
src/Server/Grants/AuthCodeGrant.php 0.00% 15 Missing ⚠️
src/Services/Container.php 0.00% 10 Missing ⚠️
src/Forms/ClientForm.php 71.42% 8 Missing ⚠️
src/Entities/ClientEntity.php 0.00% 7 Missing ⚠️
src/Factories/RequestRulesManagerFactory.php 0.00% 7 Missing ⚠️
src/Server/AuthorizationServer.php 0.00% 5 Missing ⚠️
src/Server/Grants/ImplicitGrant.php 50.00% 5 Missing ⚠️
src/Server/ResponseModes/FragmentResponseMode.php 0.00% 5 Missing ⚠️
src/Server/ResponseModes/QueryResponseMode.php 0.00% 5 Missing ⚠️
... and 7 more
Additional details and impacted files
@@                 Coverage Diff                 @@
##             wip-version-7     #337      +/-   ##
===================================================
- Coverage            46.88%   46.88%   -0.01%     
- Complexity            2041     2074      +33     
===================================================
  Files                  166      171       +5     
  Lines                 8662     8816     +154     
===================================================
+ Hits                  4061     4133      +72     
- Misses                4601     4683      +82     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cicnavi cicnavi self-requested a review May 19, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant