Solve issue with latest commit commenting code
This commit is contained in:
parent
e991060a51
commit
b60ac953d8
@ -109,14 +109,14 @@
|
||||
|
||||
app.UseCors("CorsPolicy");
|
||||
|
||||
//var identityUrl = Configuration.GetValue<string>("IdentityUrl");
|
||||
var identityUrl = Configuration.GetValue<string>("IdentityUrl");
|
||||
|
||||
//app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions
|
||||
//{
|
||||
// Authority = identityUrl.ToString(),
|
||||
// ScopeName = "orders",
|
||||
// RequireHttpsMetadata = false
|
||||
//});
|
||||
app.UseIdentityServerAuthentication(new IdentityServerAuthenticationOptions
|
||||
{
|
||||
Authority = identityUrl.ToString(),
|
||||
ScopeName = "orders",
|
||||
RequireHttpsMetadata = false
|
||||
});
|
||||
|
||||
|
||||
app.UseMvcWithDefaultRoute();
|
||||
|
Loading…
x
Reference in New Issue
Block a user