Skip to content

Swagger UI for Unit service is not loading

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

Stack Trace:

correlation-id=aayushi data-partition-id=vkamanitestin-dp1 api-method=GET operation-name= user-id= app-id=:unit.app User not authenticated. Response: HttpResponse(headers={date=[Wed, 17 May 2023 08:47:02 GMT], null=[HTTP/1.1 403 Forbidden], server=[envoy], content-length=[19], x-envoy-upstream-service-time=[6], content-type=[text/plain]}, body=RBAC: access denied, contentType=text/plain, responseCode=403, exception=null, request=http://entitlements/api/entitlements/v2/groups, httpMethod=GET, latency=11) {correlation-id=aayushi, data-partition-id=vkamanitestin-dp1}
2023-05-17 08:47:02.803 ERROR unit-7df964c7df-pk5v9 --- [tp1677207406-26] o.o.o.a.l.Slf4JLogger                    correlation-id=aayushi data-partition-id=vkamanitestin-dp1 api-method=GET operation-name= user-id= app-id=:unit.app The user is not authorized to perform this action

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

Merge request reports