Commit 4ef50cbc authored by Anthony FREYERMUTH's avatar Anthony FREYERMUTH
Browse files

Accepted X-Frame-Options header to load iframe content

parent dc7c859f
Pipeline #56286 failed with stages
in 4 minutes and 23 seconds
......@@ -48,6 +48,7 @@ class SecurityConfig extends KeycloakWebSecurityConfigurerAdapter {
.antMatchers("/", "/ressources*").hasRole("uma_authorization")
.anyRequest().authenticated().and().oauth2Login().and().logout().logoutSuccessUrl("/logout-success")
;
http.headers().frameOptions().sameOrigin();
}
/*
......@@ -60,4 +61,4 @@ class SecurityConfig extends KeycloakWebSecurityConfigurerAdapter {
.and().logout().logoutSuccessUrl("/").deleteCookies("JSESSIONID", "XSRF-TOKEN")
.invalidateHttpSession(true).permitAll();
}*/
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment