Open
Description
last-modified headers on .well-known endpoints.
Problem
When something in the configuration changes on fusionauth, the .well-known discovery-endpoints reflect new information. caching these file is being done by the requesting party - which can lead to serving outdated discovery information
Solution
Add last-modified headers on the ./well-known endpoints
Additional Details
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
Related:
Alternatives/workarounds
the requesting party should refresh the discovery data in cache more often.