More in this section
Forums / Developing with Sitefinity / BugTracker Example + Authorize attribute

BugTracker Example + Authorize attribute

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Alessandra
    Alessandra avatar
    6 posts
    Registered:
    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
    Registered:
    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