More in this section

Forums / Developing with Sitefinity / BugTracker Example + Authorize attribute

BugTracker Example + Authorize attribute

2 posts, 0 answered
  1. Alessandra
    Alessandra avatar
    6 posts
    27 May 2011
    15 Oct 2015
    Link to this post

    I'm trying to modify the Sitefinity BugTracker Sample app code adding an Authorize attribute in the ProjectController:

    [Authorize(Roles = "Users")]
    public ActionResult Index()
        return this.View("ProjectMaster", this.GetProjects());

    When a not authenticated user requests the ProjectController, he is redirected to the login page as expected. 

    After the authentication the browser Chrome shows the error: "ERR_TOO_MANY_REDIRECTS"

    What's wrong?


  2. mark gamache
    mark gamache avatar
    34 posts
    23 Jun 2005
    23 Dec 2015 in reply to Alessandra
    Link to this post
    I am seeing this error also. It might be that SF is not using standard namespace for roles?
2 posts, 0 answered