Hi,
Try registering a SecurityFilterChain bean for your endpoints like it is described in this topic.
SecurityFilterChain