BugTracker Example + Authorize attribute - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

BugTracker Example + Authorize attribute

  • BugTracker Example + Authorize attribute
  • 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?

     

  • I am seeing this error also. It might be that SF is not using standard namespace for roles?