cannot communicate with authorisation endpoints when when anonymous allowed from localhost

getting connection denied because of missing or invalid token when starting app and when entering valid login details nothing happens even after refreshing page
image.webp

Could you please share some more context? What are you trying to achieve? What kind of authentication mechanism are you trying to use? How does your Spring Security configuration looks like?

The warning message is only about dev tools websocket and it usually happens if you are accessing the application on an host or ip address that is not localhost.
It is not related to Hilla endpoints.
Do you see any other errors, on server or browser console?