sp-rest-proxy icon indicating copy to clipboard operation
sp-rest-proxy copied to clipboard

Can this proxy be used when the host SP environment (on prem) has a "strict-origin-when-cross-origin" HTTP referrer policy?

Open samperrow opened this issue 3 years ago • 3 comments

I have tried connecting to an on-premise SP environment with those safeguards, but I haven't been able to successfully make HTTP requests via this proxy service.

samperrow avatar Apr 07 '22 21:04 samperrow

Hey @samperrow,

Do you have an idea how I could configure on-prem instance with strict-origin to verify if it works?

Could you check are you able consuming SharePoint API via sp-request. If it worked I guess I can manage a referrer to workaround the policy.

koltyakov avatar Apr 08 '22 13:04 koltyakov

@koltyakov I do not know how you could configure an on-prem SP instance to test this unfortunately.. And I wasn't able to get this working with sp-request, so maybe there is no work-around that is readily available.

samperrow avatar Apr 12 '22 16:04 samperrow