Homec4science

WebSession: disable ORCID login

Authored by Petros Ioannidis <petros.ioannidis@cern.ch> on Mar 7 2014, 17:29.

Description

WebSession: disable ORCID login

  • Disables ORCID login by removing the string 'orcid' from variable CFG_OAUTH2_PROVIDERS in file invenio.conf. (closes #1667)
  • Creates a regression test into file websession_regression_tests.py that checks if the login page has any kind of openid, oauth1 or oauth2 login and fails if so.
  • Changes a typo in access_control_config.py and removes the consumer_key and consumer_secret value from orcid entry in the CFG_OAUTH2_CONFIGURATIONS dictionary.

Signed-off-by: Petros Ioannidis <petros.ioannidis@cern.ch>
Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Apr 17 2014, 09:49
Parents
R3600:db9f02ddb710: OAIHarvest: respect hidden fields
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:25d64a55bc9e: WebSession: disable ORCID login (authored by Petros Ioannidis <petros.ioannidis@cern.ch>).Apr 17 2014, 09:49