I am more likely to be new to the service program. I seem to be having problems writing 401 statues to 302. I looked at this answer:
If ServiceStack authentication failed, do not redirect?
I see that the proposed solution is as follows:
Plugins.Add(new AuthFeature(...) { HtmlRedirect = null });
My question is: where exactly am I adding this to make it work? I started creating something based on github examples:
public class AppHost : AppHostBase { public AppHost() : base("Custom Authentication Example", typeof(AppHost).Assembly) { } public override void Configure(Container container) {
thanks a lot
Seanh source share