Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IA2
RAP
Commits
e1a300d3
Commit
e1a300d3
authored
4 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes
parent
933bc566
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
classes/login/ShibbolethLogin.php
+2
-2
2 additions, 2 deletions
classes/login/ShibbolethLogin.php
config-example.yaml
+4
-2
4 additions, 2 deletions
config-example.yaml
with
6 additions
and
4 deletions
classes/login/ShibbolethLogin.php
+
2
−
2
View file @
e1a300d3
...
@@ -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 user
s
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'
];
...
...
This diff is collapsed.
Click to expand it.
config-example.yaml
+
4
−
2
View file @
e1a300d3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment