Needs work
Project:
SAML Authentication Multi IDP
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2026 at 12:12 UTC
Updated:
17 Apr 2026 at 15:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
jfurnas commentedDo you mean the Entity ID that you reference in the metadata files? That's currently possible with this module now, although once you set an IDP ID and it's actively being used, it's not recommended that you change it.
If you are editing an IDP, there is an 'Entity ID' field that you can use to edit the entity ID.
Comment #4
alt.dev commentedI added the sp_entity_id field support.
Attaching the patch with the latest code version.
Comment #5
jfurnas commentedThanks for the contribution. I will take a closer look at this.
Comment #6
alt.dev commented@jfurnas, I mean the "An identifier for the SP", it's a separate field from "idp_entity_id" as far as I understand. I already created the MR with the fix. Please review my MR when you have time.
The old implementation of this feature can be found here - https://git.drupalcode.org/issue/samlauth-3088092/-/blob/b30743cce1e1011...
Comment #7
alt.dev commentedComment #8
jfurnas commentedJust a slight bit of functionality update on the existing sp field description to help avoid confusion if possible.
Comment #10
loon commentedUpdated the patch and MR to fix the issue:
TypeError: Cannot assign null to property Drupal\samlauth_multi_idp\Entity\SamlauthIdp::$sp_entity_id of type string in /var/www/html/docroot/core/lib/Drupal/Core/Entity/EntityBase.php on line 75 #0 /var/www/html/docroot/core/lib/Drupal/Core/Config/E
ntity/ConfigEntityBase.php(114): Drupal\Core\Entity\EntityBase->__construct()
Comment #11
loon commentedFixed the above issue but for a new installation