allowedOrigins

공개/Spring

[Springboot] CORS 설정시 Mapping 관련 오류

예전 자료를 보면서 spring security랑 jwt 토큰 공부중에 발생한 오류가 있었다. allowedOrigins 에러 java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" response header. To allow credentials to a set of origins, list them explicitly or consider using "allowedOriginPatterns" instead. 스프링부트에서 CORS 설정..

잔망짱구
'allowedOrigins' 태그의 글 목록