Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing passport saml #381

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1138b06
working on adding shibboleth to Dendro
NelsonPereira1991 May 16, 2018
0f56f65
changed parameters type
NelsonPereira1991 May 17, 2018
8cb7c8e
Update load_logic_routes.js
NelsonPereira1991 May 21, 2018
6ac96c1
Update bower.json
NelsonPereira1991 May 21, 2018
9f71525
still working on UP Shibboleth
NelsonPereira1991 May 21, 2018
4dabf90
Fixed comflicts
NelsonPereira1991 May 21, 2018
45e550c
Changed console.log calls to Logger
NelsonPereira1991 May 22, 2018
42f1cc9
first iteration of shibboleth sign-in working
NelsonPereira1991 May 24, 2018
f349db1
Shibboleth users are now blocked from editing their profile in Dendro…
NelsonPereira1991 May 24, 2018
8c38dc6
Users authenticated via federated sign-in can only edit their avatar
NelsonPereira1991 May 24, 2018
0ff7f6b
added the configuration "shibbolethUP" to the remaining configuration…
NelsonPereira1991 May 24, 2018
475782c
- Changed the name of the routes for ShibbolethUP
NelsonPereira1991 May 25, 2018
c4b263e
Changed Shibboleth_UP class
NelsonPereira1991 Jun 6, 2018
4d8eec8
refactored code
NelsonPereira1991 Jun 6, 2018
6584160
Edited the shibboleth options for the other Dendro configs(test, trav…
NelsonPereira1991 Jun 6, 2018
c0bf86a
Removed code that originated from another branch where I was working …
NelsonPereira1991 Jun 6, 2018
eaf17c9
Login via UP sign in is now working
NelsonPereira1991 Jun 14, 2018
23ea83a
Added a few TODOs
NelsonPereira1991 Jun 14, 2018
cbc091d
working on updating user info everytime the user login via shibboleth
NelsonPereira1991 Jun 15, 2018
f91cebb
Cleaned code a bit
NelsonPereira1991 Jun 18, 2018
3386217
Cleaned code
NelsonPereira1991 Jun 19, 2018
7c08a2a
Edited error message
NelsonPereira1991 Jun 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 54 additions & 1 deletion conf/deployment_configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,25 @@
"callback_url": "/auth/orcid/callback"
},
"saml": {
"enabled": true,
"enabled": false,
"callback_path": "/auth/saml/callback",
"entry_point": "https://openidp.feide.no/simplesaml/saml2/idp/SSOService.php",
"issuer": "passport-saml",
"button_text": "Sign-in with SIGARRA"
},
"shibboleth":
{
"enabled": true,
"business_logic_handler": "bootup/models/shibboleth/shibboleth_UP.js",
"callback_url": "http://dendropessoal.up.pt:3001/Shibboleth/login/callback",
"button_url": "http://dendropessoal.up.pt:3001/Shibboleth",
"entry_point": "https://stark.up.pt/idp/profile/SAML2/Redirect/SSO",
"issuer": "https://dendropessoal.up.pt/shibboleth",
"session_secret": "secret123",
"button_text": "UP-Sign-in",
"idp_cert_path": "/Users/nelsonpereira/Desktop/infolaRepos/dendroRepo/dendro/conf/cert/idp_cert.pem",
"key_path": "/Users/nelsonpereira/Desktop/infolaRepos/dendroRepo/dendro/conf/cert/key.pem",
"cert_path": "/Users/nelsonpereira/Desktop/infolaRepos/dendroRepo/dendro/conf/cert/cert.pem"
}
},
"numCPUs": 4
Expand Down Expand Up @@ -770,6 +784,19 @@
"entry_point": "https://openidp.feide.no/simplesaml/saml2/idp/SSOService.php",
"issuer": "passport-saml",
"button_text": "Sign-in with SIGARRA"
},
"shibboleth": {
"enabled": false,
"business_logic_handler": "default_string",
"callback_url": "default_string",
"button_url": "default_string",
"entry_point": "default_string",
"issuer": "default_string",
"session_secret": "default_string",
"button_text": "default_string",
"idp_cert_path": "default_string",
"key_path": "default_string",
"cert_path": "default_string"
}
},
"numCPUs": 1
Expand Down Expand Up @@ -1155,6 +1182,19 @@
"entry_point": "https://openidp.feide.no/simplesaml/saml2/idp/SSOService.php",
"issuer": "passport-saml",
"button_text": "Sign-in with SIGARRA"
},
"shibboleth": {
"enabled": false,
"business_logic_handler": "default_string",
"callback_url": "default_string",
"button_url": "default_string",
"entry_point": "default_string",
"issuer": "default_string",
"session_secret": "default_string",
"button_text": "default_string",
"idp_cert_path": "default_string",
"key_path": "default_string",
"cert_path": "default_string"
}
},
"numCPUs": 1
Expand Down Expand Up @@ -1540,6 +1580,19 @@
"entry_point": "https://openidp.feide.no/simplesaml/saml2/idp/SSOService.php",
"issuer": "passport-saml",
"button_text": "Sign-in with SIGARRA"
},
"shibboleth": {
"enabled": false,
"business_logic_handler": "default_string",
"callback_url": "default_string",
"button_url": "default_string",
"entry_point": "default_string",
"issuer": "default_string",
"session_secret": "default_string",
"button_text": "default_string",
"idp_cert_path": "default_string",
"key_path": "default_string",
"cert_path": "default_string"
}
},
"numCPUs": 1
Expand Down
Loading