{"action":"opened","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2453","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2453/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2453/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/2453/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/2453","id":127820478,"number":2453,"title":"Q: Quick question about the discovery document?","user":{"login":"Peperud","id":12447865,"avatar_url":"https://avatars.githubusercontent.com/u/12447865?v=3","gravatar_id":"","url":"https://api.github.com/users/Peperud","html_url":"https://github.com/Peperud","followers_url":"https://api.github.com/users/Peperud/followers","following_url":"https://api.github.com/users/Peperud/following{/other_user}","gists_url":"https://api.github.com/users/Peperud/gists{/gist_id}","starred_url":"https://api.github.com/users/Peperud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peperud/subscriptions","organizations_url":"https://api.github.com/users/Peperud/orgs","repos_url":"https://api.github.com/users/Peperud/repos","events_url":"https://api.github.com/users/Peperud/events{/privacy}","received_events_url":"https://api.github.com/users/Peperud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-21T00:54:28Z","updated_at":"2016-01-21T00:54:28Z","closed_at":null,"body":"I'm building a load-balanced setup and we usually break the SSL at the load balancer. The discovery document gets generated fine, except that I need the protocol to be how the outside world sees it - `https`, not `http`. That's what the \"public origin\" is for...but I can't use that because of the mulitenancy-by-sub-domain setup I have. \r\n\r\nIs it possible to influence IdSrv3 discovery document just in regards to the generation? \r\n\r\nI can change the request scheme in the OWIN pipeline before it reaches IdSrv3, but I'm not sure if this is not going to mess up something downstream...\r\n"}}