Keycloak not taking effect on spring boot

I’m following all the code on keycloak spring boot example repo but, no matter what I do, keycloak doesn’t seem to protect the resource I configured it to. There’s no error, nothing. When I call my “protected” endpoint it just passes through.

I created a demo project on spring boot, so there’s not much code to be shown. I’m using spring 2.3.3.

I’d like to know if anyone passed any similar issue.

Thanks !