This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
redirect_uri is overwritten to http although app runs on https #1702
Closed
Description
I have following configureService method
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().AddRazorPagesOptions(o => o.Conventions.AuthorizeFolder("/"));
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
services.AddAuthentication(options =>
{
options.DefaultScheme = "Cookies";
options.DefaultChallengeScheme = "oidc";
})
.AddCookie("Cookies")
.AddOpenIdConnect("oidc", options =>
{
options.SignInScheme = "Cookies";
options.Scope.Add("openid");
options.Scope.Add("profile");
options.Scope.Add("roles");
options.Authority = "https://my-auth-server"
options.ClientId = "my-mvc-client-id";
options.SaveTokens = true;
});
}
My auth server (identityserver) complains because the incoming redirect_uri coming from the mvc app is http rather than https.
Any idea?
Metadata
Metadata
Assignees
Labels
No labels