diff --git a/datasafe-rest-impl/pom.xml b/datasafe-rest-impl/pom.xml
index 666cbd40e..528c6c630 100644
--- a/datasafe-rest-impl/pom.xml
+++ b/datasafe-rest-impl/pom.xml
@@ -19,10 +19,16 @@
3.0.0
2.2.4
1.6.0
- 3.0.2
+ 3.0.2
+ 2.3.0
+
+ org.springdoc
+ springdoc-openapi-starter-webmvc-ui
+ ${springdoc-openapi-starter-webmvc-ui.version}
+
de.adorsys
datasafe-business
diff --git a/datasafe-rest-impl/src/main/java/de/adorsys/datasafe/rest/impl/security/SecurityConfig.java b/datasafe-rest-impl/src/main/java/de/adorsys/datasafe/rest/impl/security/SecurityConfig.java
index dab705ac1..b6bc4e98a 100644
--- a/datasafe-rest-impl/src/main/java/de/adorsys/datasafe/rest/impl/security/SecurityConfig.java
+++ b/datasafe-rest-impl/src/main/java/de/adorsys/datasafe/rest/impl/security/SecurityConfig.java
@@ -63,7 +63,7 @@ public SecurityFilterChain filterChain(HttpSecurity http, MvcRequestMatcher.Buil
.requestMatchers(swaggerResources).permitAll()
.requestMatchers(mvc.pattern("/static/**")).permitAll()
.requestMatchers(mvc.pattern(SecurityConstants.AUTH_LOGIN_URL)).permitAll()
- .requestMatchers(mvc.pattern(HttpMethod.OPTIONS, "/**")).permitAll()
+ .requestMatchers(mvc.pattern(HttpMethod.GET, "/**")).permitAll()
.anyRequest().authenticated()
)
.addFilter(new JwtAuthorizationFilter(authenticationManager, securityProperties))
diff --git a/datasafe-rest-impl/src/test/resources/jwt-config.properties b/datasafe-rest-impl/src/test/resources/jwt-config.properties
index 7402462a6..a35818175 100644
--- a/datasafe-rest-impl/src/test/resources/jwt-config.properties
+++ b/datasafe-rest-impl/src/test/resources/jwt-config.properties
@@ -1,7 +1,5 @@
-debug=false
-management.endpoints.web.exposure.include=*
-
-jwt_secret=n2r5u8x/A%D*G-KaPdSgVkYp3s6v9y$B&E(H+MbQeThWmZq4t7w!z%C*F-J@NcRf
-default_user=username
-default_password=password
-token_expiration=864000000
+jwt_secret=${JWT_SECRET}
+default_user=${DEFAULT_USER}
+default_password=${DEFAULT_PASSWORD}
+#10 Days in ms
+token_expiration=${TOKEN_EXPIRATION:864000000}
\ No newline at end of file