Skip to content

Commit ad3d994

Browse files
authored
Excludes /description endpoint from Security (#639)
Signed-off-by: Mohammad Ghazanfar Ali Danish <[email protected]>
1 parent 03405aa commit ad3d994

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

basyx.common/basyx.authorization/src/main/java/org/eclipse/digitaltwin/basyx/authorization/CommonSecurityConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
5353
.requestMatchers("/v3/**").permitAll()
5454
.requestMatchers("/api-docs/**").permitAll()
5555
.requestMatchers("api-docs/swagger-config/**").permitAll()
56+
.requestMatchers(HttpMethod.GET, "/description").permitAll()
5657
.anyRequest().authenticated()
5758
)
5859
.oauth2ResourceServer(oauth2 -> oauth2

0 commit comments

Comments
 (0)