Check metadata refresh and timings when switching from old to new file
Bug #1885958 reported by
Kristina Hoeppner
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The metadata refresh URL for SAML catches updates to the metadata. However, when an entirely new metadata file is put in place, the old file may not be kept long enough for the transition to take place.
This needs further investigation to see if we need to make any changes. Robert L has the info.
To post a comment you must log in.
The metadata_ refresh_ hook() function in htdocs/ auth/saml/ lib.php does the following
1) sets a metarefresh- state.php file containing info about the idp metadata state
2) get a list of local $sets and finds the external metadata information about them and saves that down to dataroot/ metadata/ refresh/ directory
It should save files called shib13-idp-remote and saml20-idp-remote but if no info available it deletes the old file and not save any new ones