WIP - Modify oidcConsents key structure

This commit is contained in:
Christophe Maudoux 2018-07-15 21:25:12 +02:00
parent fa7c2eb6ca
commit 4885fce87f

View File

@ -544,8 +544,9 @@ sub mkOidcConsent {
##################### #####################
foreach (@$_consents) { foreach (@$_consents) {
if ( defined {$_}->{rp} ){ if ( defined $_->{rp} ){
my $rp = {$_}->{rp}; my $rp = $_->{rp};
$self->logger->debug("RP $rp Consent found");
$consents->{$rp}->{epoch} = $_->{epoch}; $consents->{$rp}->{epoch} = $_->{epoch};
$consents->{$rp}->{scope} = $_->{scope}; $consents->{$rp}->{scope} = $_->{scope};
$consents->{$rp}->{displayName} = $consents->{$rp}->{displayName} =