{"action":"closed","issue":{"url":"https://api.github.com/repos/IdentityModel/Thinktecture.IdentityModel/issues/119","labels_url":"https://api.github.com/repos/IdentityModel/Thinktecture.IdentityModel/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/IdentityModel/Thinktecture.IdentityModel/issues/119/comments","events_url":"https://api.github.com/repos/IdentityModel/Thinktecture.IdentityModel/issues/119/events","html_url":"https://github.com/IdentityModel/Thinktecture.IdentityModel/issues/119","id":72005452,"number":119,"title":"No AuthorizationManager set","user":{"login":"otaviosoares","id":180912,"avatar_url":"https://avatars.githubusercontent.com/u/180912?v=3","gravatar_id":"","url":"https://api.github.com/users/otaviosoares","html_url":"https://github.com/otaviosoares","followers_url":"https://api.github.com/users/otaviosoares/followers","following_url":"https://api.github.com/users/otaviosoares/following{/other_user}","gists_url":"https://api.github.com/users/otaviosoares/gists{/gist_id}","starred_url":"https://api.github.com/users/otaviosoares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otaviosoares/subscriptions","organizations_url":"https://api.github.com/users/otaviosoares/orgs","repos_url":"https://api.github.com/users/otaviosoares/repos","events_url":"https://api.github.com/users/otaviosoares/events{/privacy}","received_events_url":"https://api.github.com/users/otaviosoares/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-29T22:20:12Z","updated_at":"2015-04-30T16:32:30Z","closed_at":"2015-04-30T16:32:30Z","body":"I'm getting the \"No AuthorizationManager set\" error.\r\n\r\nHowever I'm configuring the authorization manager in my Startup.cs:\r\n\r\n```c#\r\n    public void Configuration(IAppBuilder app)\r\n        {\r\n            ConfigureOAuth(app);\r\n            var config = new HttpConfiguration();\r\n            WebApiConfig.Register(config);\r\n            app.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);\r\n            app.UseWebApi(config);\r\n            app.UseResourceAuthorization(new TestAuthorization());\r\n            RegisterIoCDependencies(app, config);\r\n        }\r\n```\r\n\r\nAnd my controller:\r\n\r\n```c#\r\n    [Authorize]\r\n    [RoutePrefix(\"api/test\")]\r\n    [ResourceAuthorize(TestResources.View, TestResources.Test)]\r\n    public class TestController: ApiController\r\n    {\r\n        private readonly ITestService _testService;\r\n\r\n        public TestController(ITestService testService)\r\n        {\r\n            testService= _testService;\r\n        }\r\n\r\n        [Authorize]\r\n        [ResourceAuthorize(TestResources.Add, TestResources.Test)]\r\n        public HttpResponseMessage Post([FromBody] TestContract payload)\r\n        {\r\n            \r\n        }\r\n    }\r\n```\r\n\r\nAm I doing something wrong?\r\n\r\nThank you"}}