BugTracker Example + Authorize attribute

Posted by Community Admin on 04-Aug-2018 16:27

BugTracker Example + Authorize attribute

All Replies

Posted by Community Admin on 15-Oct-2015 00:00

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?

 

Posted by Community Admin on 23-Dec-2015 00:00

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

This thread is closed