Sep 22, 2012 at 11:27 PM
Edited Sep 22, 2012 at 11:31 PM
Has anyone implemented a CAS system into Orchard? Maybe written a CAS Module?
If not I will try and write one but I am a newbie when it comes to orchard.
There is a nuget package that works with MVC3 called DotNetCasClient. I have tried it in a standalone MVC app and it does work. You have to modify web.config and add:
<forms loginUrl="https://casDomainHere/cas/login" cookieless="UseCookies" />
However this doesn't work with the orchard web.config file. In the CAS MVC example you just modif the following controller to add the authorize method attribute and the redirectToAction method:
public class AccountController : Controller
// GET: /Account/LogOn
public ActionResult LogOn()
return RedirectToAction("Index", "Home");
Can someone point me in the right direction?