Add toggle to suppress openathens redirector
Issue
The issue is that there can be resources that are essentially openathens enabled, but they don't work (for whatever reason) with the openathens redirector.
So we want to add a toggle that will
- populate the openathens url field on solr (search needs this to recognize it as openathens enabled)
- but populate it with a url that is not prefixed with the redirector
The url used to populate the solr field will be
- the openathens url (in the galileo_admin resource record), if any, or
- the ip access url
The constraint on this toggle: it can only be true if openathens enabled is also true.
Thoughts
I'm thinking that instead of a toggle to augment the openathens enabled setting, we'd have two toggles: "OpenAthens Enabled, with redirector" and "OpenAthens Enabled, no redirector". They would be mutually exclusive.
Edited by Brad Baxter