Skip to content

Swagger UI for Catalog service is not loading

Aayushi Jain requested to merge swaggerui-fix into azure/m16-master

Swagger UI for Catalog service is not loading with error Unauthorized

stackTrace: 2023-05-16 05:36:35.730 ERROR crs-catalog-57c94f547f-gjj8r --- [qtp509832867-23] o.o.o.a.l.Slf4JLogger correlation-id=aayushi data-partition-id=opendes api-method=GET operation-name= user-id= app-id=:crs-catalog.app null {correlation-id=aayushi, data-partition-id=opendes} org.opengroup.osdu.crs.util.AppException: null| at org.opengroup.osdu.crs.util.AppException.createUnauthorized(AppException.java:44) ~[crs-catalog-core-0.17.1-SNAPSHOT.jar!/:?]| at org.opengroup.osdu.crs.middleware.AuthenticationService.isAuthorized(AuthenticationService.java:65) ~[crs-catalog-core-0.17.1-SNAPSHOT.jar!/:?]| at org.opengroup.osdu.crs.middleware.AuthenticationRequestFilter.doFilterInternal(AuthenticationRequestFilter.java:24) ~[crs-catalog-core-0.17.1-SNAPSHOT.jar!/:?]| ... suppressed 25 lines| at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)

The authorized needs to be disabled from SecurityConfig also for swagger UI url

Edited by Aayushi Jain

Merge request reports