{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2273","repository_url":"https://api.github.com/repos/IdentityServer/IdentityServer4","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2273/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2273/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2273/events","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/2273","id":318128121,"node_id":"MDU6SXNzdWUzMTgxMjgxMjE=","number":2273,"title":"How to replace tokenEnd point with my customToken End point","user":{"login":"BrahmaReddyMadhira","id":12568437,"node_id":"MDQ6VXNlcjEyNTY4NDM3","avatar_url":"https://avatars0.githubusercontent.com/u/12568437?v=4","gravatar_id":"","url":"https://api.github.com/users/BrahmaReddyMadhira","html_url":"https://github.com/BrahmaReddyMadhira","followers_url":"https://api.github.com/users/BrahmaReddyMadhira/followers","following_url":"https://api.github.com/users/BrahmaReddyMadhira/following{/other_user}","gists_url":"https://api.github.com/users/BrahmaReddyMadhira/gists{/gist_id}","starred_url":"https://api.github.com/users/BrahmaReddyMadhira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrahmaReddyMadhira/subscriptions","organizations_url":"https://api.github.com/users/BrahmaReddyMadhira/orgs","repos_url":"https://api.github.com/users/BrahmaReddyMadhira/repos","events_url":"https://api.github.com/users/BrahmaReddyMadhira/events{/privacy}","received_events_url":"https://api.github.com/users/BrahmaReddyMadhira/received_events","type":"User","site_admin":false},"labels":[{"id":315207801,"node_id":"MDU6TGFiZWwzMTUyMDc4MDE=","url":"https://api.github.com/repos/IdentityServer/IdentityServer4/labels/investigating","name":"investigating","color":"eb6420","default":false},{"id":290038719,"node_id":"MDU6TGFiZWwyOTAwMzg3MTk=","url":"https://api.github.com/repos/IdentityServer/IdentityServer4/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"brockallen","id":649492,"node_id":"MDQ6VXNlcjY0OTQ5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/649492?v=4","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},"assignees":[{"login":"brockallen","id":649492,"node_id":"MDQ6VXNlcjY0OTQ5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/649492?v=4","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}],"milestone":null,"comments":9,"created_at":"2018-04-26T17:33:44Z","updated_at":"2018-08-03T14:00:50Z","closed_at":null,"author_association":"NONE","body":"Switched off the Default Token End point in\r\n EndpointsOptions class\r\n   public bool EnableTokenEndpoint { get; set; } = false;\r\n\r\nI have extended the Token Endpoint \r\nCustomTokenEndPoint: IEndpointHandler \r\n\r\nand injected the end point in startup.cs \r\n.AddEndpoint<CustomTokenEndPoint>(\"Token\", \"/connect/token\") \r\n\r\n### Issue / Steps to reproduce the problem\r\n\r\nDid not work. is there any thing that I am missing here.\r\n\r\nCould you give steps to achieve the custom token endpoint by replacing the TokenEndPoint\r\n\r\n\r\n\r\n### Relevant parts of the log file\r\n\r\n```\r\n<log goes here>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/comments/410262988","html_url":"https://github.com/IdentityServer/IdentityServer4/issues/2273#issuecomment-410262988","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer4/issues/2273","id":410262988,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDI2Mjk4OA==","user":{"login":"kevinlo","id":6989840,"node_id":"MDQ6VXNlcjY5ODk4NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6989840?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinlo","html_url":"https://github.com/kevinlo","followers_url":"https://api.github.com/users/kevinlo/followers","following_url":"https://api.github.com/users/kevinlo/following{/other_user}","gists_url":"https://api.github.com/users/kevinlo/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinlo/subscriptions","organizations_url":"https://api.github.com/users/kevinlo/orgs","repos_url":"https://api.github.com/users/kevinlo/repos","events_url":"https://api.github.com/users/kevinlo/events{/privacy}","received_events_url":"https://api.github.com/users/kevinlo/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T14:00:50Z","updated_at":"2018-08-03T14:00:50Z","author_association":"CONTRIBUTOR","body":"Is it as simple as this in the EndpointRouter .Find function?\r\n\r\n`foreach(var endpoint in _endpoints.Reverse())`"}}
{"actor":{"display_login":"kevinlo"}}