Fixed
Project:
SAML Service Provider
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 May 2026 at 21:53 UTC
Updated:
12 May 2026 at 23:46 UTC
Jump to comment: Most recent
I was messing around with phpcs and phpstan while trying to figure out a way forward on #3118296: Add extra fields to config and found a bunch of little problems:
SamlSPAuth::login(), and its parent only allows string or null.Idp::getAuthnContextClassRef() and Idp::getX509Cert when it’s impossible not to.SamlSpConfig form.MR fixes most of those, hopefully without breaking anything.
I also disabled the D12 checks in .gitlab-ci.yml until we’re actually ready to start testing against D12.
saml_sp_drupal_login.module that are likely to be removed in the course of finishing #3118296: Add extra fields to config.$acsUrl in SamlSPMetadata.php.
$_POST from saml_sp__is_valid_authentication_response() because that whole function is deprecated.SamlSPDrupalLoginController.php tests for !empty($allowlist) even though phpstan says that’s always going to succeed, and I don’t have SecKit set up on any of my sites right now to verify either way.Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
jproctor