{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1501","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1501/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1501/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1501/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1501","id":88724529,"number":1501,"title":"Custom login page","user":{"login":"usernameAlreadyTakenByMe","id":12623252,"avatar_url":"https://avatars.githubusercontent.com/u/12623252?v=3","gravatar_id":"","url":"https://api.github.com/users/usernameAlreadyTakenByMe","html_url":"https://github.com/usernameAlreadyTakenByMe","followers_url":"https://api.github.com/users/usernameAlreadyTakenByMe/followers","following_url":"https://api.github.com/users/usernameAlreadyTakenByMe/following{/other_user}","gists_url":"https://api.github.com/users/usernameAlreadyTakenByMe/gists{/gist_id}","starred_url":"https://api.github.com/users/usernameAlreadyTakenByMe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usernameAlreadyTakenByMe/subscriptions","organizations_url":"https://api.github.com/users/usernameAlreadyTakenByMe/orgs","repos_url":"https://api.github.com/users/usernameAlreadyTakenByMe/repos","events_url":"https://api.github.com/users/usernameAlreadyTakenByMe/events{/privacy}","received_events_url":"https://api.github.com/users/usernameAlreadyTakenByMe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T13:12:49Z","updated_at":"2015-06-20T22:15:59Z","closed_at":null,"body":"Hi I am working on customUserService sample from samples page.\r\nI'm trying to do a custom login page with a slightly different view depending on clientId and then do a partial login with customuserservice. I'm stuck at either doing a custom html page where i dont know how to pass parameters to site in order to change the layout or change PreAuthenticateAsync method to gain control over authentication process by using async tasks to redirect to newly created login action and view in which i can't redirect to my own actions.\r\n\r\nSo the question is: how the custom login page and custom authentication process should be done. \r\nThanks in advance for any clues."},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/113828699","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1501#issuecomment-113828699","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1501","id":113828699,"user":{"login":"brockallen","id":649492,"avatar_url":"https://avatars.githubusercontent.com/u/649492?v=3","gravatar_id":"","url":"https://api.github.com/users/brockallen","html_url":"https://github.com/brockallen","followers_url":"https://api.github.com/users/brockallen/followers","following_url":"https://api.github.com/users/brockallen/following{/other_user}","gists_url":"https://api.github.com/users/brockallen/gists{/gist_id}","starred_url":"https://api.github.com/users/brockallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockallen/subscriptions","organizations_url":"https://api.github.com/users/brockallen/orgs","repos_url":"https://api.github.com/users/brockallen/repos","events_url":"https://api.github.com/users/brockallen/events{/privacy}","received_events_url":"https://api.github.com/users/brockallen/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T22:15:59Z","updated_at":"2015-06-20T22:15:59Z","body":"Sounds like doing the custom view is the right thing. You can include additional params in the `<form>` and then in your user service you can look for those (by injecting the owin environment service and reading the custom POST values). One of our samples does something like this, IIRC."}}