Problem/Motivation
When you are the identity provider for many services, some of those services have different attributes whereas some others do not want sensitive or personally identifying information revealed to them for reasons of privacy and GDPR (in the UK).
Proposed resolution
Pass the $state variable through to getUser() and then through to the hook_saml_idp_attributes_alter() hook.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | saml_idp-altering-attributes-access-saml-state-3384042-2.patch | 3.1 KB | rob230 |
Comments
Comment #2
rob230 commentedHere is the patch to allow this.
Comment #3
rob230 commentedComment #5
rob230 commented