{"action":"created","issue":{"url":"https://api.github.com/repos/networking/init-cms-sandbox/issues/19","labels_url":"https://api.github.com/repos/networking/init-cms-sandbox/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/networking/init-cms-sandbox/issues/19/comments","events_url":"https://api.github.com/repos/networking/init-cms-sandbox/issues/19/events","html_url":"https://github.com/networking/init-cms-sandbox/issues/19","id":91861236,"number":19,"title":"Login Redirects to a Blank Page","user":{"login":"ferrassi","id":939833,"avatar_url":"https://avatars.githubusercontent.com/u/939833?v=3","gravatar_id":"","url":"https://api.github.com/users/ferrassi","html_url":"https://github.com/ferrassi","followers_url":"https://api.github.com/users/ferrassi/followers","following_url":"https://api.github.com/users/ferrassi/following{/other_user}","gists_url":"https://api.github.com/users/ferrassi/gists{/gist_id}","starred_url":"https://api.github.com/users/ferrassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferrassi/subscriptions","organizations_url":"https://api.github.com/users/ferrassi/orgs","repos_url":"https://api.github.com/users/ferrassi/repos","events_url":"https://api.github.com/users/ferrassi/events{/privacy}","received_events_url":"https://api.github.com/users/ferrassi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T17:21:29Z","updated_at":"2015-07-15T07:11:10Z","closed_at":"2015-07-15T07:11:10Z","body":"Hi,\r\nWhen I attempt to login to the administrator panel through /login, I am redirected to a blank page /login_check and cannot seem to access the panel.\r\nAny advice?\r\n"},"comment":{"url":"https://api.github.com/repos/networking/init-cms-sandbox/issues/comments/121511879","html_url":"https://github.com/networking/init-cms-sandbox/issues/19#issuecomment-121511879","issue_url":"https://api.github.com/repos/networking/init-cms-sandbox/issues/19","id":121511879,"user":{"login":"ychadwick","id":664349,"avatar_url":"https://avatars.githubusercontent.com/u/664349?v=3","gravatar_id":"","url":"https://api.github.com/users/ychadwick","html_url":"https://github.com/ychadwick","followers_url":"https://api.github.com/users/ychadwick/followers","following_url":"https://api.github.com/users/ychadwick/following{/other_user}","gists_url":"https://api.github.com/users/ychadwick/gists{/gist_id}","starred_url":"https://api.github.com/users/ychadwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ychadwick/subscriptions","organizations_url":"https://api.github.com/users/ychadwick/orgs","repos_url":"https://api.github.com/users/ychadwick/repos","events_url":"https://api.github.com/users/ychadwick/events{/privacy}","received_events_url":"https://api.github.com/users/ychadwick/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T07:11:10Z","updated_at":"2015-07-15T07:11:10Z","body":"You need to check how your security is set up, for the admin area it should look something like this:\r\n\r\n```\r\n        admin:\r\n            switch_user:        true\r\n            context:            user\r\n            pattern:            /admin(.*)\r\n            form_login:\r\n                provider:       fos_userbundle\r\n                login_path:     /admin/login\r\n                use_forward:    false\r\n                check_path:     /admin/login_check\r\n                failure_path:   null\r\n                use_referer:    true\r\n                default_target_path: /admin/dashboard\r\n            logout:\r\n                path:           /admin/logout\r\n                target:         /admin/login\r\n```\r\nAlso make sure you are importing the routing file for the cms:\r\n\r\n```\r\nNetworkingInitCmsBundle:\r\n    resource: \"@NetworkingInitCmsBundle/Resources/config/routing/routing.yml\"\r\n    prefix:   /\r\n```"}}