Skip to content

Commit a85e50b

Browse files
authored
Merge pull request #61 from GedasFX/dev
fix 0iq
2 parents 10a245d + 2b6820d commit a85e50b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Alderto.Web/Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void ConfigureServices([NotNull] IServiceCollection services)
9090
})
9191
.AddJwtBearer(options =>
9292
{
93-
options.Authority = "https://localhost/api";
93+
options.Authority = Configuration["OAuth:ApiAuthority"];
9494
options.Audience = "api";
9595
})
9696
.AddCookie();

Alderto.Web/appsettings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
"OAuth": {
4747
"RedirectUris": "https://localhost/login;http://localhost/login",
4848
"PostLogoutRedirectUris": "https://localhost/;http://localhost/",
49-
"AllowedCorsOrigins": "https://localhost"
49+
"AllowedCorsOrigins": "https://localhost",
50+
51+
"ApiAuthority": "https://localhost/api"
5052
},
5153

5254
/**

0 commit comments

Comments
 (0)