Bjarne Fyrstenborg
08/31/2024, 4:08 PMAccess-Control-Allow-Origin
and Vary
headers.
However when configuring MediaProtect package, it seems it may clear/remove/override the response headers, so we get an CORS errors as it only allow to make the request the another origin if Access-Control-Allow-Origin
header is set in response.Bjarne Fyrstenborg
08/31/2024, 4:10 PMBjarne Fyrstenborg
08/31/2024, 4:10 PMBjarne Fyrstenborg
08/31/2024, 4:11 PMBjarne Fyrstenborg
08/31/2024, 4:12 PM[ComposeAfter(typeof(MediaProtectComposer))]
to our composer, but it didn't seem to have any effect.theneXus
09/05/2024, 1:54 AMRichard Soeteman
09/05/2024, 6:18 AMBjarne Fyrstenborg
09/10/2024, 10:04 AMapp.UseAuthentication()
.. not sure if it should or shouln't.
So we actually have .UseCors()
again here.. beside in prerequest pipeline.. at least it works for now.Richard Soeteman
09/10/2024, 10:55 AMBjarne Fyrstenborg
09/16/2024, 8:32 AM