We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10a245d + 2b6820d commit a85e50bCopy full SHA for a85e50b
Alderto.Web/Startup.cs
@@ -90,7 +90,7 @@ public void ConfigureServices([NotNull] IServiceCollection services)
90
})
91
.AddJwtBearer(options =>
92
{
93
- options.Authority = "https://localhost/api";
+ options.Authority = Configuration["OAuth:ApiAuthority"];
94
options.Audience = "api";
95
96
.AddCookie();
Alderto.Web/appsettings.json
@@ -46,7 +46,9 @@
46
"OAuth": {
47
"RedirectUris": "https://localhost/login;http://localhost/login",
48
"PostLogoutRedirectUris": "https://localhost/;http://localhost/",
49
- "AllowedCorsOrigins": "https://localhost"
+ "AllowedCorsOrigins": "https://localhost",
50
+
51
+ "ApiAuthority": "https://localhost/api"
52
},
53
54
/**
0 commit comments