From aca82105fa2723c060f7737718e72c56844c1db6 Mon Sep 17 00:00:00 2001 From: Michele D'Amico Date: Fri, 14 Oct 2022 20:13:15 +0200 Subject: [PATCH] feat: add TeamSystem IdP to SPID button --- setup/Setup.php | 3 ++- setup/sdk/proxy-spid-php.tpl | 5 ++++- setup/sdk/spid-php.tpl | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/setup/Setup.php b/setup/Setup.php index d188afc..c415079 100644 --- a/setup/Setup.php +++ b/setup/Setup.php @@ -1230,7 +1230,8 @@ public static function updateMetadata() { case "https://posteid.poste.it": $icon = "spid-sp-access-button/img/spid-idp-posteid.svg"; break; case "https://identity.sieltecloud.it": $icon = "spid-sp-access-button/img/spid-idp-sielteid.svg"; break; case "https://spid.register.it": $icon = "spid-sp-access-button/img/spid-idp-spiditalia.svg"; break; - case "https://login.id.tim.it/affwebservices/public/saml2sso": $icon = "spid-sp-access-button/img/spid-idp-timid.svg"; break; + case "https://login.id.tim.it/affwebservices/public/saml2sso": $icon = "spid-sp-access-button/img/spid-idp-teamsystemid.svg"; break; + case "https://spid.teamsystem.com/idp": $icon = "spid-sp-access-button/img/spid-idp-timid.svg"; break; } $vars = array( diff --git a/setup/sdk/proxy-spid-php.tpl b/setup/sdk/proxy-spid-php.tpl index c5bfee6..1d56158 100644 --- a/setup/sdk/proxy-spid-php.tpl +++ b/setup/sdk/proxy-spid-php.tpl @@ -42,7 +42,10 @@ class PROXY_SPID_PHP extends SPID_PHP { client_id."&action=login&redirect_uri=".$this->redirect_uri."&idp=Sielte S.p.A.&state=".$this->state."\">Sielte ID\"Sielte
  • - client_id."&action=login&redirect_uri=".$this->redirect_uri."&idp=Register.it S.p.A.&state=".$this->state."\">SPIDItalia Register.it\"SpidItalia\" + client_id."&action=login&redirect_uri=".$this->redirect_uri."&idp=Register.it S.p.A.&state=".$this->state."\">Tim ID\"Tim +
  • +
  • + client_id."&action=login&redirect_uri=".$this->redirect_uri."&idp=TeamSystem s.p.a.&state=".$this->state."\">TeamSystem ID\"TeamSystem
  • client_id."&action=login&redirect_uri=".$this->redirect_uri."&idp=TI Trust Technologies srl&state=".$this->state."\">Tim ID\"Tim diff --git a/setup/sdk/spid-php.tpl b/setup/sdk/spid-php.tpl index 626a9c1..e3baca5 100644 --- a/setup/sdk/spid-php.tpl +++ b/setup/sdk/spid-php.tpl @@ -365,6 +365,9 @@
  • +
  • + +