I have a WCF service that is reachable by anonymous users on my Episerver site. The service works fine as long as I'm not logged in to Episerver; when I log in Episerver sets a cookie called ".EPiServerLogin" which seems to make the application authorize all users with Forms authentication. I'm guessing that since my WCF service is configured for Anonymous authentication it stops working when the app switches to Forms auth.
Some additional information is that the problem only occurs over https, when I run the site locally on http I can be logged in to Episerver and use my service.
Does anyone have an idea of how to solve this?
How exactly it stops? 401, 404 or 500 statuses?
I've tested in Firefox and Chrome so far and as long as I'm not logged in to Epi I get 200 from the service, but when I log in the status code is simply empty (to be precise, in chrome the status is "(failed)"). In the chrome console I get an error message: "net::ERR_CONNECTION_RESET". This message seems to usually be connected to issues with certificates, but I don't really understand why it would appear only when I'm logged in to epi.