Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 992b58d

Browse files
davidfowlReubenBond
authored andcommitted
Fixed cookies
1 parent a7cdb1d commit 992b58d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Web/WebMVC/Program.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
// Refer to https://github.com/dotnet-architecture/eShopOnContainers/issues/1391
2121
app.UseCookiePolicy(new CookiePolicyOptions { MinimumSameSitePolicy = SameSiteMode.Lax });
2222

23+
app.UseRouting();
24+
25+
app.UseAuthentication();
26+
app.UseAuthorization();
27+
2328
app.MapControllerRoute("default", "{controller=Catalog}/{action=Index}/{id?}");
2429
app.MapControllerRoute("defaultError", "{controller=Error}/{action=Error}");
2530
app.MapControllers();

src/Web/WebMVC/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"SignalrHubUrl": "http://localhost:5229",
1111
"IdentityUrl": "http://localhost:5223",
1212
"IdentityUrlHC": "http://localhost:5223/hc",
13-
"CallBackUrl": "http://localhost:5100/",
13+
"CallBackUrl": "http://localhost:5331/",
1414
"IsClusterEnv": "False",
1515
"UseResilientHttp": "True",
1616
"UseLoadTest": false,

0 commit comments

Comments
 (0)