I have asp MVC project with API ,Now I Want make Startup.Auth.cs to authentcation access from site and API
1- This is my Startup.Auth.cs that work with site
2- And this Startup.Auth.cs that work with api
How Can make Startup.Auth.cs that can works with site and API ?
sumer alkadasiPosted Jan 10, 2018, 12:54 PM
config.SuppressDefaultHostAuthentication();
config.Filters.Add(new HostAuthenticationFilter(OAuthDefaults.AuthenticationType));
sumer alkadasiPosted Jan 9, 2018, 10:03 AM
Shweta LodhaPosted Jan 7, 2018, 11:54 PM