Category Archives: ASP.NET MVC

DD4T REST Provider – Basic authentication

In my previous post I explained how to add HTTP Basic authentication to a DD4T REST Service.

If you have done that and your application is consuming content from the REST service, your request should end up in HTTP  403 Not Authorized. This is to be expected, because you have now implemented authentication on the REST service, but the client – the DD4T Rest Provider – does not add any authentication headers to the request by default.

Continue reading