We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf2eb7e commit 2b3a0a8Copy full SHA for 2b3a0a8
DigitalLearningSolutions.Web/Startup.cs
@@ -205,6 +205,18 @@ public void ConfigureServices(IServiceCollection services)
205
RegisterHelpers(services);
206
RegisterHttpClients(services);
207
RegisterWebServiceFilters(services);
208
+
209
+ // Add CORS policy for tableau
210
+ services.AddCors(options =>
211
+ {
212
+ options.AddPolicy("SecurePolicy", builder =>
213
214
+ builder.WithOrigins("https://qa.telemetry.tableausoftware.com")
215
+ .WithMethods("GET", "OPTIONS")
216
+ .WithHeaders("Authorization", "Content-Type")
217
+ .AllowCredentials();
218
+ });
219
220
}
221
222
private void SetUpAuthentication(IServiceCollection services)
0 commit comments