{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityManager/IdentityManager/issues/187","labels_url":"https://api.github.com/repos/IdentityManager/IdentityManager/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/IdentityManager/IdentityManager/issues/187/comments","events_url":"https://api.github.com/repos/IdentityManager/IdentityManager/issues/187/events","html_url":"https://github.com/IdentityManager/IdentityManager/issues/187","id":120791510,"number":187,"title":"HostSecurityConfiguration() with cookies not working.","user":{"login":"johnaroj","id":5710135,"avatar_url":"https://avatars.githubusercontent.com/u/5710135?v=3","gravatar_id":"","url":"https://api.github.com/users/johnaroj","html_url":"https://github.com/johnaroj","followers_url":"https://api.github.com/users/johnaroj/followers","following_url":"https://api.github.com/users/johnaroj/following{/other_user}","gists_url":"https://api.github.com/users/johnaroj/gists{/gist_id}","starred_url":"https://api.github.com/users/johnaroj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnaroj/subscriptions","organizations_url":"https://api.github.com/users/johnaroj/orgs","repos_url":"https://api.github.com/users/johnaroj/repos","events_url":"https://api.github.com/users/johnaroj/events{/privacy}","received_events_url":"https://api.github.com/users/johnaroj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityManager/IdentityManager/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-07T14:57:49Z","updated_at":"2015-12-21T13:54:13Z","closed_at":null,"body":"Hello,\r\n\r\nI just want to use windows authentication without the login page. so I set my roles in the database but still see this blank page:\r\nhttps://localhost:44337/idm/authorize?state=6141333079622682&client_id=idmgr&response_type=token\r\n\r\nWhat am I doing wromg?\r\n\r\n public void Configuration(IAppBuilder app)\r\n        {\r\n          LogProvider.SetCurrentLogProvider(new TraceSourceLogProvider());\r\n\r\n\t\t\t\t\tapp.UseClaimsTransformation(Transformation);\r\n\r\n          // this configures IdentityManager\r\n          // we're using a Map just to test hosting not at the root\r\n\r\n          app.Map(\"/idm\", idm =>\r\n          {\r\n              var factory = new IdentityManagerServiceFactory();\r\n\r\n\t\t\t\t\t\t\tvar users = new UserRepository().GetUsers();\r\n\t\t\t\t\t\t\tvar roles = new UserRepository().GetRoles();\r\n\r\n              factory.Register(new Registration<ICollection<User>>(users));\r\n              factory.Register(new Registration<ICollection<Role>>(roles));\r\n              factory.IdentityManagerService = new Registration<IIdentityManagerService, UserIdentityManagerService>();\r\n\r\n              idm.UseIdentityManager(new IdentityManagerOptions\r\n              {\r\n\t\t\t\t\t\t\t\t\tFactory = factory\r\n\t\t\t\t\t\t\t\t\t,\r\n\t\t\t\t\t\t\t\t\tSecurityConfiguration = new HostSecurityConfiguration()\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tHostAuthenticationType = \"Cookies\",\r\n\t\t\t\t\t\t\t\t\t\tNameClaimType = \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name\",\r\n\t\t\t\t\t\t\t\t\t\tRoleClaimType = \"http://schemas.microsoft.com/ws/2008/06/identity/claims/role\",\r\n\t\t\t\t\t\t\t\t\t\tAdminRoleName = \"admin\",\r\n\t\t\t\t\t\t\t\t\t\tShowLoginButton = false\r\n\t\t\t\t\t\t\t\t\t}\r\n              });\r\n          });\r\n        }\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityManager/IdentityManager/issues/comments/166310346","html_url":"https://github.com/IdentityManager/IdentityManager/issues/187#issuecomment-166310346","issue_url":"https://api.github.com/repos/IdentityManager/IdentityManager/issues/187","id":166310346,"user":{"login":"johnaroj","id":5710135,"avatar_url":"https://avatars.githubusercontent.com/u/5710135?v=3","gravatar_id":"","url":"https://api.github.com/users/johnaroj","html_url":"https://github.com/johnaroj","followers_url":"https://api.github.com/users/johnaroj/followers","following_url":"https://api.github.com/users/johnaroj/following{/other_user}","gists_url":"https://api.github.com/users/johnaroj/gists{/gist_id}","starred_url":"https://api.github.com/users/johnaroj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnaroj/subscriptions","organizations_url":"https://api.github.com/users/johnaroj/orgs","repos_url":"https://api.github.com/users/johnaroj/repos","events_url":"https://api.github.com/users/johnaroj/events{/privacy}","received_events_url":"https://api.github.com/users/johnaroj/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T13:54:13Z","updated_at":"2015-12-21T13:54:13Z","body":"yes\n\nDate: Sat, 19 Dec 2015 12:33:01 -0800\nFrom: notifications@github.com\nTo: IdentityManager@noreply.github.com\nCC: johnaroj@hotmail.com\nSubject: Re: [IdentityManager] HostSecurityConfiguration() with cookies not working. (#187)\n\nSo then we can close this issue?\n\n\n—\nReply to this email directly or view it on GitHub.\n\n\n  \n  \n\n\n \t\t \t   \t\t  "}}