-
Notifications
You must be signed in to change notification settings - Fork 48
Chore/add hide idps #1304
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
Chore/add hide idps #1304
Conversation
Pull Request Test Coverage Report for Build 19143615376Details
💛 - Coveralls |
Please find the detailed integration test report here Please find the Github Action logs here |
fence/blueprints/login/__init__.py
Outdated
| upstream_idps = UPSTREAM_IDP_CACHE.get(cache_key) | ||
| if hide_idps_list and len(hide_idps_list) > 0: | ||
| hidden_idps_excluded = [ | ||
| x for x in upstream_idps if x.get("name") not in hide_idps_list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the idea is right. But I also think we should be putting the IDP's entityID into HIDE_IDPS instead of their names. Since this is how Shibboleth IDPs can be configured to enable in Fence config now, like
fence/docs/additional_documentation/fence_shibboleth.md
Lines 84 to 86 in 2a0ede3
| shib_idps: | |
| - urn:mace:incommon:nih.gov | |
| - urn:mace:incommon:uchicago.edu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hide list is updated to use idp instead of name. The unit test cases have been expanded to show that this works when shib_idsp=[list] in addition to shib_idps=*.
Please find the detailed integration test report here Please find the Github Action logs here |
Please find the detailed integration test report here Please find the Github Action logs here |
Please find the detailed integration test report here Please find the Github Action logs here |
Please find the detailed integration test report here Please find the Github Action logs here |
fence/config-default.yaml
Outdated
| ITRUST_GLOBAL_LOGOUT: 'https://auth.nih.gov/siteminderagent/smlogout.asp?mode=nih&AppReturnUrl=' | ||
|
|
||
| # The following names will be hidden from the InCommons drop down list when shib_idps=* | ||
| # eg, HIDE_IDPS = ["The University of Texas Southwestern Medical Center"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should update this example (and the other one below as well)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example HIDE_IDPS has been updated. Is there another one that needs updating?
Please find the detailed integration test report here Please find the Github Action logs here |
mfshao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
|
Failed to Prepare CI environment Please find the Github Action logs here |
Please find the detailed integration test report here Please find the Github Action logs here |
JIRA ticket: HP-2270
New Features
HIDE_IDPSconfiguration option whenshib_ipds=*Breaking Changes
Bug Fixes
Improvements
Dependency updates
Deployment changes