Public Access
1 parent
734ff2e07c
commit
c362e7047e
1 file changed
+2
-1
@@ -298,7 +298,8 @@ class SessionFlowTest extends AbstractIntegrationTest {
|
||||
.header("Access-Control-Request-Headers", "x-tbp-client"))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(header().string("Access-Control-Allow-Origin", FRONTEND))
|
||||
.andExpect(header().string("Access-Control-Allow-Credentials", "true"));
|
||||
.andExpect(header().string("Access-Control-Allow-Credentials", "true"))
|
||||
.andExpect(header().string("Access-Control-Max-Age", "3600"));
|
||||
|
||||
mockMvc.perform(options("/api/auth/refresh")
|
||||
.header("Origin", "https://evil.andreas-dahm.eu")
|
||||
|
||||
Reference in new issue
Block a user