Some plugins need to cooperate. For instance: framing plugin needs to cooperate with a csp plugin, cors would usually disable xsrf.
Proposed solution
To avoid the extra complexity of facilitating plugins (their interceptors) cooperation during execution time, we want to introduce orchestrators (name TBD).
At mux startup time, orchestrators would add other plugins to the respective handlers. Example:
Problem
Some plugins need to cooperate. For instance:
framing
plugin needs to cooperate with acsp
plugin,cors
would usually disablexsrf
.Proposed solution
To avoid the extra complexity of facilitating plugins (their interceptors) cooperation during execution time, we want to introduce orchestrators (name TBD).
At mux startup time, orchestrators would add other plugins to the respective handlers. Example:
The
framing
package would depend on thecsp
and thexfo
packages in order to install and/or amend their configuration to support safe iframing.