Unable to login with Bearer token as null

Hi Team,
I have integrated the Keylock with Spring boot using @KeycloakConfiguration in SecurityConfig Class,
and I am able to log in without a Bearer token and with an empty Bearer token.

I have created a login page in angular,
and from that, I am passing the bearer token as null.

I am getting

status": 401,
“error”: “Unauthorized”

Regards Sahil