Compare commits

...

2 Commits
main ... dom-ws

Author SHA1 Message Date
Dominique Eifländer
04807ab9eb Websocket test 2024-05-17 11:15:46 +02:00
Dominique Eifländer
e11cb8149e Webso 2024-05-16 14:54:27 +02:00

View File

@ -59,7 +59,11 @@ public class SecuredKeyCloakConfiguration {
http.anonymous().disable();
http.httpBasic().disable();
http.csrf().disable();
http.csrf(csrf -> csrf.ignoringRequestMatchers("/redaction-gateway-v1/websocket/**"));
http.headers(headers -> headers
// allow same origin to frame our site to support iframe SockJS
.frameOptions(frameOptions -> frameOptions
.sameOrigin()));
http.oauth2ResourceServer(oauth2 -> oauth2.authenticationManagerResolver(tenantAuthenticationManagerResolver));
http.authorizeHttpRequests().anyRequest().authenticated();