I have a .NET core web API server that I am communicating with (post/get) from two applications. The first is an angular website and the second one is a WPF app. I want the angular website to get response only with JWT Token Bearer and the WPF to get the responses without any need for Authorization. should I create two controllers? one without Authorize attribute for WPF and one with Authorize attribute for angular? or there is another way to do it with custom Authorize attribute that check if request come from angular or from WPF?
Thanks :)