Nếu đúng thì f12 sẽ ko có đoạn sec:authorize= như ảnh nữa ạ

Cho e hỏi lỗi này là do e config bên thymleaf chưa đủ hay do bên BE e chưa set đúng role hay sao ạ.
E có khai báo
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity"và dependency
thymeleaf-extras-springsecurity4