{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/jupyterhub/issues/125","labels_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/125/comments","events_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/125/events","html_url":"https://github.com/jupyter/jupyterhub/issues/125","id":54387297,"number":125,"title":"`/login` url still mounted when using a non-standard Authenticator","user":{"login":"ssanderson","id":1588357,"avatar_url":"https://avatars.githubusercontent.com/u/1588357?v=3","gravatar_id":"","url":"https://api.github.com/users/ssanderson","html_url":"https://github.com/ssanderson","followers_url":"https://api.github.com/users/ssanderson/followers","following_url":"https://api.github.com/users/ssanderson/following{/other_user}","gists_url":"https://api.github.com/users/ssanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/ssanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssanderson/subscriptions","organizations_url":"https://api.github.com/users/ssanderson/orgs","repos_url":"https://api.github.com/users/ssanderson/repos","events_url":"https://api.github.com/users/ssanderson/events{/privacy}","received_events_url":"https://api.github.com/users/ssanderson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T22:37:58Z","updated_at":"2015-01-14T22:49:43Z","closed_at":null,"body":"When using a non-standard Authenticator (such as the OAuthenticator setup) the default `/login` URL is no longer usable (it returns a 405 on POST with OAuthenticator), but it's automatically mounted as a default handler."},"comment":{"url":"https://api.github.com/repos/jupyter/jupyterhub/issues/comments/70008560","html_url":"https://github.com/jupyter/jupyterhub/issues/125#issuecomment-70008560","issue_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/125","id":70008560,"user":{"login":"ssanderson","id":1588357,"avatar_url":"https://avatars.githubusercontent.com/u/1588357?v=3","gravatar_id":"","url":"https://api.github.com/users/ssanderson","html_url":"https://github.com/ssanderson","followers_url":"https://api.github.com/users/ssanderson/followers","following_url":"https://api.github.com/users/ssanderson/following{/other_user}","gists_url":"https://api.github.com/users/ssanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/ssanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssanderson/subscriptions","organizations_url":"https://api.github.com/users/ssanderson/orgs","repos_url":"https://api.github.com/users/ssanderson/repos","events_url":"https://api.github.com/users/ssanderson/events{/privacy}","received_events_url":"https://api.github.com/users/ssanderson/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T22:49:43Z","updated_at":"2015-01-14T22:49:43Z","body":"#126 is my proposal for a fix.  It moves `/login` from being a module-level default to being a handler supplied by the Authenticator base class.\r\n\r\nI left `/logout` as an always-on default with my logic being that people are more likely to want to customize login than logout.  Though thinking about it some more I think I'm inclined to move `/logout` as well..."}}