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.

Comments

Rob230 created an issue. See original summary.

rob230’s picture

Here is the patch to allow this.

rob230’s picture

Version: 8.x-1.x-dev » 2.x-dev

  • Rob230 committed 6a3b53f7 on 2.x
    Issue #3384042 by Rob230: Add hooks for altering attributes, login...
rob230’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.