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 f45b432 commit 0a933b0Copy full SHA for 0a933b0
eFormAPI/eFormAPI/App_Start/WebApiConfig.cs
@@ -20,6 +20,7 @@ public static void Register(HttpConfiguration config)
20
{
21
// Web API configuration and services
22
// Configure Web API to use only bearer token authentication.
23
+ config.EnableCors();
24
config.SuppressDefaultHostAuthentication();
25
config.Filters.Add(new HostAuthenticationFilter(OAuthDefaults.AuthenticationType));
26
config.Filters.Add(new HostAuthenticationFilter(CookieAuthenticationDefaults.AuthenticationType));
0 commit comments