fix: remove [Authorize] from BFF OrderController — BFF proxies don't configure auth schemes

BFF server forwards JWT via AuthForwardingHandler to downstream services.
Adding [Authorize] on BFF controllers causes "No authenticationScheme was specified"
error since the BFF server itself has no JWT middleware configured.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ho Ngoc Hai
2026-03-13 22:02:24 +07:00
parent dd74b05189
commit cb5bc95b8d

View File

@@ -11,7 +11,6 @@ namespace WebClientTpos.Server.Controllers;
/// VI: Controller đơn hàng — proxy đến OrderService cho đơn hàng, POS thanh toán, dashboard.
/// </summary>
[ApiController]
[Authorize]
[Route("api/bff")]
public class OrderController : ControllerBase
{