[Error]When allowCredentials is true, allowedOrigins cannot contain the special value "*" since


[Error]When allowCredentials is true, allowedOrigins cannot contain the special value "*" since

에러 발생시 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. 해결방법 수정전 configuration.setAllowedOrigins(Arrays.asList("*")); configuration.setAllowCredentials(true); 위에 두줄을 합쳐서 수정후처럼 한줄로 만든다 configuration.setAllowedOriginPatterns(Arrays.asList("*"));...


#alloewd #allowCredentials #contain #is #setAllowedOrigins #true #when

원문링크 : [Error]When allowCredentials is true, allowedOrigins cannot contain the special value "*" since