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

Increase the limit of IdPs in the login widget #1362

Open
LucaCinquini opened this issue Feb 23, 2017 · 2 comments
Open

Increase the limit of IdPs in the login widget #1362

LucaCinquini opened this issue Feb 23, 2017 · 2 comments
Assignees
Milestone

Comments

@LucaCinquini
Copy link
Contributor

Who: Kai

Please first take a look at the attached screenshot. The names of Identity Providers seem to be sorted in ascending order by alphabet. There are 11 Identity Providers in total (including https://) in the file /esg/config/esgf_known_providers.xml, but only the first 10 names of Identity Providers are listed.The Identity Provider NSC-LIU cannot be displayed since it is at last position in the sorted list. If I remove any name of provider before NSC-LIU, then the name of Identity Provider NSC-LIU appears in the drop-down list. It looks there is a limit of 10 items for drop-down list.

Could you please have a look? probably the limit of 10 items can be changed somewhere in configuration files?
@LucaCinquini LucaCinquini added this to the Release 3.9 milestone Feb 23, 2017
@LucaCinquini LucaCinquini self-assigned this Feb 23, 2017
@LucaCinquini
Copy link
Contributor Author

Interim solution: remove this line from login.html:

known_providers['https://'] = 'https://';

@soay
Copy link
Collaborator

soay commented Feb 23, 2017

This is likely due to the Yahoo's AutoComplete function which sets maxResultsDisplayed to 10 by default. Adding "maxResultsDisplayed: 15" to the oConfigs in login.html should do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants