I think you are having a cors problem try adding this to you default filterchain
.cors(Customizer.withDefaults())