로그인 후 CREATE 기능을 실행했더니 해당 오류가 발생했다.
Spring Security는 기본적으로 csrf 공격에 대한 방지를 수행한다. 이를 해당 기능을 비활성화함으로써 403 Forbidden 에러는 해결할 수 있었다.
httpSecurity .csrf().disable()
참고 https://velog.io/@minnseong/Spring-Security-403-Forbidden-%EC%97%90%EB%9F%AC
개발자로서 배울 점이 많은 글이었습니다. 감사합니다.
개발자로서 배울 점이 많은 글이었습니다. 감사합니다.