We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e373b46 commit 020c537Copy full SHA for 020c537
src/docs/asciidoc/web/webflux-cors.adoc
@@ -233,6 +233,11 @@ You can apply CORS support through the built-in
233
{api-spring-framework}/web/cors/reactive/CorsWebFilter.html[`CorsWebFilter`], which is a
234
good fit with <<webflux-fn,functional endpoints>>.
235
236
+NOTE: If you try to use the `CorsFilter` with Spring Security, keep in mind that Spring
237
+Security has
238
+https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#cors[built-in support]
239
+for CORS.
240
+
241
To configure the filter, you can declare a `CorsWebFilter` bean and pass a
242
`CorsConfigurationSource` to its constructor, as the following example shows:
243
0 commit comments