Skip to content

Commit

Permalink
Add IntesiGroup (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
fume authored Aug 17, 2023
1 parent 2440bc7 commit 7ff0d81
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 4 deletions.
32 changes: 31 additions & 1 deletion AAD B2C/CustomPolicies/TrustFrameworkExtensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
<TechnicalProfile Id="SM-Saml-EtnaHitech">
<IncludeTechnicalProfile ReferenceId="SM-Saml-idp" />
</TechnicalProfile>
<TechnicalProfile Id="SM-Saml-IntesiGroup">
<IncludeTechnicalProfile ReferenceId="SM-Saml-idp" />
</TechnicalProfile>
<TechnicalProfile Id="SM-Saml-eIDAS">
<IncludeTechnicalProfile ReferenceId="SM-Saml-idp" />
</TechnicalProfile>
Expand Down Expand Up @@ -393,6 +396,26 @@
</TechnicalProfiles>
</ClaimsProvider>

<ClaimsProvider>
<DisplayName>IntesiGroup</DisplayName>
<TechnicalProfiles>
<TechnicalProfile Id="IntesiGroup-SAML2">
<DisplayName>IntesiGroup</DisplayName>
<Description>Login with your IntesiGroup SPID account</Description>
<Metadata>
<Item Key="PartnerEntity">{Settings:MetadatasBlobStorageUrl}/intesigroup-metadata.xml</Item>
</Metadata>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="identityProvider" DefaultValue="IntesiGroup SPID" />
</OutputClaims>
<IncludeTechnicalProfile ReferenceId="SPID-Base-SAML2" />
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Saml-IntesiGroup" />
</TechnicalProfile>
</TechnicalProfiles>
</ClaimsProvider>



<ClaimsProvider>
<DisplayName>eIDAS</DisplayName>
<TechnicalProfiles>
Expand Down Expand Up @@ -654,6 +677,7 @@
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-TeamSystemExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-InfocamereExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-EtnaHitechExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-IntesiGroupExchange" />
<!-- <ClaimsProviderSelection TargetClaimsExchangeId="SpidSamlCheckExchange" /> -->
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-SpidValidatorExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="CIE-TestExchange" />
Expand Down Expand Up @@ -690,6 +714,8 @@
<ClaimsExchange Id="SPID-PF-TeamSystemExchange" TechnicalProfileReferenceId="TeamSystem-SAML2" />
<ClaimsExchange Id="SPID-PF-InfocamereExchange" TechnicalProfileReferenceId="Infocamere-SAML2" />
<ClaimsExchange Id="SPID-PF-EtnaHitechExchange" TechnicalProfileReferenceId="EtnaHitech-SAML2" />
<ClaimsExchange Id="SPID-PF-IntesiGroupExchange" TechnicalProfileReferenceId="IntesiGroup-SAML2" />

<!-- <ClaimsExchange Id="SpidSamlCheckExchange" TechnicalProfileReferenceId="SPIDSamlCheck-SAML2" /> -->
<ClaimsExchange Id="SPID-PF-SpidValidatorExchange" TechnicalProfileReferenceId="SPIDValidator-SAML2" />
<ClaimsExchange Id="CIE-TestExchange" TechnicalProfileReferenceId="CIETest-SAML2" />
Expand Down Expand Up @@ -783,7 +809,9 @@
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-TIMExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-TeamSystemExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-InfocamereExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-EtnaHitechExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-EtnaHitechExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-IntesiGroupExchange" />

<ClaimsProviderSelection TargetClaimsExchangeId="SPID-PF-SpidValidatorExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="CIE-TestExchange" />
<ClaimsProviderSelection TargetClaimsExchangeId="CIE-Exchange" />
Expand Down Expand Up @@ -820,6 +848,8 @@
<ClaimsExchange Id="SPID-PF-TeamSystemExchange" TechnicalProfileReferenceId="TeamSystem-SAML2" />
<ClaimsExchange Id="SPID-PF-InfocamereExchange" TechnicalProfileReferenceId="Infocamere-SAML2" />
<ClaimsExchange Id="SPID-PF-EtnaHitechExchange" TechnicalProfileReferenceId="EtnaHitech-SAML2" />
<ClaimsExchange Id="SPID-PF-IntesiGroupExchange" TechnicalProfileReferenceId="IntesiGroup-SAML2" />

<ClaimsExchange Id="SPID-PF-SpidValidatorExchange" TechnicalProfileReferenceId="SPIDValidator-SAML2" />
<ClaimsExchange Id="CIE-TestExchange" TechnicalProfileReferenceId="CIETest-SAML2" />
<ClaimsExchange Id="CIE-Exchange" TechnicalProfileReferenceId="CIE-SAML2" />
Expand Down
Binary file added AAD B2C/CustomUI/spididp/IntesiGroup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions AAD B2C/Powershell Scripts/Metadatas.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@
"providername": "Infocamere",
"providermetadata": "https://loginspid.infocamere.it/metadata",
"supportsLegalSubject": true
},
{
"providername": "IntesiGroup",
"providermetadata": "https://spid.intesigroup.com/metadata/metadata.xml",
"supportsLegalSubject": true
}
]
}
4 changes: 4 additions & 0 deletions ADFS/PowerShell Scripts/Metadatas.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
{
"providername": "Infocamere",
"providermetadata": "https://loginspid.infocamere.it/metadata"
},
{
"providername": "IntesiGroup",
"providermetadata": "https://spid.intesigroup.com/metadata/metadata.xml"
}
]
}
2 changes: 2 additions & 0 deletions ADFS/SPIDTheme/Install-SPIDTheme.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Set-AdfsWebTheme -TargetName $ThemeName -AdditionalFileResource @{Uri = "/adfs/p
Set-AdfsWebTheme -TargetName $ThemeName -AdditionalFileResource @{Uri = "/adfs/portal/images/idp/EIDAS.png"; path = "$BasePath\images\idp\EIDAS.png"}
Set-AdfsWebTheme -TargetName $ThemeName -AdditionalFileResource @{Uri = "/adfs/portal/images/idp/EtnaHitech.png"; path = "$BasePath\images\idp\EtnaHitech.png"}
Set-AdfsWebTheme -TargetName $ThemeName -AdditionalFileResource @{Uri = "/adfs/portal/images/idp/Infocamere.png"; path = "$BasePath\images\idp\Infocamere.png"}
Set-AdfsWebTheme -TargetName $ThemeName -AdditionalFileResource @{Uri = "/adfs/portal/images/idp/IntesiGroup.png"; path = "$BasePath\images\idp\IntesiGroup.png"}


Set-AdfsWebTheme -TargetName $ThemeName -AdditionalFileResource @{Uri = "/adfs/portal/images/spid-agid-logo-lb.png"; path = "$BasePath\images\spid-agid-logo-lb.png"}

Expand Down
Binary file added ADFS/SPIDTheme/images/idp/IntesiGroup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ADFS/SPIDTheme/script/onload.js
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ function RedirectToSpidIdP(value) {
}

//All the IdPs as named in ADFS must be listed here
var idpsNames = ["Sielte", "Infocert", "Postecom", "TIM", "Aruba", "Register", "Namirial", "Intesa", "Lepida", "SPIDValidator", "TeamSystem", "Infocamere", "EtnaHitech"];
var idpsNames = ["Sielte", "Infocert", "Postecom", "TIM", "Aruba", "Register", "Namirial", "Intesa", "Lepida", "SPIDValidator", "TeamSystem", "Infocamere", "EtnaHitech", "IntesiGroup"];
var idpsFound = [];

//sort them randomly...
Expand Down
7 changes: 5 additions & 2 deletions WebApps/Proxy/Microsoft.SPID.Proxy/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@
"ETNAHITECH": "https://id.eht.eu/SSO",
"ETNAHITECH_LOGOUT": "https://id.eht.eu/SLS",
"INFOCAMERE": "https://loginspid.infocamere.it/ServiceLoginWelcome",
"INFOCAMERE_LOGOUT": "https://loginspid.infocamere.it/ServiceLogoutRequest"
"INFOCAMERE_LOGOUT": "https://loginspid.infocamere.it/ServiceLogoutRequest",
"INTESIGROUP": "https://spid.intesigroup.com/saml/public/income",
"INTESIGROUP_LOGOUT": "https://spid.intesigroup.com/saml/public/logout"
},

"customErrors": {
Expand Down Expand Up @@ -169,7 +171,8 @@
"sp-proxy.eid.gov.it/spproxy/idpit": "https://sp-proxy.eid.gov.it/spproxy/idpitmetadata",
"spid.teamsystem.com/idp": "https://spid.teamsystem.com/idp",
"id.eht.eu": "https://id.eht.eu/metadata.xml",
"loginspid.infocamere.it": "https://loginspid.infocamere.it/metadata"
"loginspid.infocamere.it": "https://loginspid.infocamere.it/metadata",
"idp.intesigroup.com": "https://spid.intesigroup.com/metadata/metadata.xml"
},
"CacheAbsoluteExpirationInMins": 120
},
Expand Down

0 comments on commit 7ff0d81

Please sign in to comment.