- Issue created by @dylan donkersgoed
- Issue was unassigned.
- 🇨🇦Canada dylan donkersgoed London, Ontario
No plans to work on this in the immediate future so unassigning myself for now.
- 🇳🇱Netherlands roderik Amsterdam,NL / Budapest,HU
I suggest to do this in multiple parts.
Part 1:
Build the code that fetches metadata from a URL and merge it into existing IdP config.
Add a URL input element somewhere that is not a value saved to config (either on a new form or the regular config form). At the click of a button, fetch metadata + update config + display the new config in the configuration screen.
Or... even better? At the click of a button, fetch metadata, and show the updated config screen + messages about what was changed, without saving it yet?
This is what the code comment tried to imply / will make initial configuration of the module a lot easier. And this is necessary base/test work for 'part 2'.
Then.... part 2 can be what this issue description wants: regular automatic updating of the data. My initial thoughts about this:
- My feeling is that this is better off implemented as e.g. a Drush command than as cron functionality, though I can be convinced otherwise. (This feels like a devops-y task that you want to configure outside of the website?)
- There will be extra (possible / eventually requested) configuration options, like an allow/deny-list of attributes to update, a minimum refresh time, ... that should be kept separate from the actual SAML configuration.
- If this is not a drush command with options, maybe this is an add-on module?