Steps to Reproduce:
MW installations with SSO integration (e.g. simplesaml) where the remote SSO has an unreasonably strict CORS Policy will result in VE producing the "something went wrong" and "try again" errors when the SSO session expires and the underlying javascript error:
[client request] blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."
ref: https://www.mediawiki.org/wiki/Topic:V2qh378y0tj83so8
Actual Results:
Developers whose SSO does not support Cross-Domain" requests will subject users to uninformative errors with VE that are simple to resolve if VE we able to be configured to do a silent non-cross-domain request (to re-establish the SSO session) prior to the cross-domain request that performs the VE function.
Expected Results:
- MW documentation should include SSO CORS policy requirements in installation documentation .
- it would be wonderful if VE could be resilient enough to help a user through a session restoration prior to and between edit events (launch VE edit and VE save)