Webapi controller without authentication
The [AllowAnonymous] attribute will skip authentication and authorization during an access request to a controller decorated with this attribute or to a specific action method decorated with this attribute
[Authorize]
public class SampleController : BaseController
{
[AllowAnonymous]
public IActionResult Get()
{ ... }
public IActionResult Post() { ... }
}