Skip to content
Snippets Groups Projects
Commit e1a300d3 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Minor changes

parent 933bc566
No related branches found
No related tags found
No related merge requests found
...@@ -17,8 +17,8 @@ class ShibbolethLogin extends LoginHandler { ...@@ -17,8 +17,8 @@ class ShibbolethLogin extends LoginHandler {
// Search if the user is already registered into RAP using the eppn. // Search if the user is already registered into RAP using the eppn.
// The persistent id should be a more appropriate identifier, however at IA2 // The persistent id should be a more appropriate identifier, however at IA2
// we need to import all INAF user into RAP, even if they will never register, // we need to import all INAF users into RAP, even if they will never register,
// and in that case we know only their eppn. // and in that case we only know their eppn.
$identity = new Identity(Identity::EDU_GAIN); $identity = new Identity(Identity::EDU_GAIN);
$identity->typedId = $eppn; $identity->typedId = $eppn;
$identity->email = $_SERVER['mail']; $identity->email = $_SERVER['mail'];
......
...@@ -31,7 +31,7 @@ authenticationMethods: ...@@ -31,7 +31,7 @@ authenticationMethods:
callback: "/auth/social/linkedin/token" callback: "/auth/social/linkedin/token"
X509: X509:
LocalIdP: LocalIdP:
url: "https://sso.ia2.inaf.it/Shibboleth.sso/Login?entityID=https://sso.ia2.inaf.it/idp/shibboleth&target=https://sso.ia2.inaf.it/rap-ia2-v2/auth/eduGAIN" url: "https://sso.ia2.inaf.it/Shibboleth.sso/Login?entityID=https://sso.ia2.inaf.it/idp/shibboleth&target=https://sso.ia2.inaf.it/rap-ia2/auth/eduGAIN"
logo: "img/ia2-logo-60x60.png" logo: "img/ia2-logo-60x60.png"
logoAlt: "IA2 logo" logoAlt: "IA2 logo"
description: "Use the IA2 Logo to Login if you have an account provided by IA2 or self registered" description: "Use the IA2 Logo to Login if you have an account provided by IA2 or self registered"
...@@ -39,9 +39,11 @@ authenticationMethods: ...@@ -39,9 +39,11 @@ authenticationMethods:
id: "XXXXXX" id: "XXXXXX"
callback: "/auth/orcid" callback: "/auth/orcid"
secret: "XXXXXX" secret: "XXXXXX"
# enable simulated login page for testing
test: false
gms: gms:
id: "gms" id: "gms"
joinEndpoint: "https://sso.ia2.inaf.it/gms/ws/jwt/join" joinEndpoint: "https://sso.ia2.inaf.it/gms"
tokenIssuer: tokenIssuer:
services: services:
- id: fileserver - id: fileserver
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment