add this two lines in your spring security file and you are good to go.
http.csrf().disable();
http.headers().frameOptions().disable();
add this two lines in your spring security file and you are good to go.
http.csrf().disable();
http.headers().frameOptions().disable();