# Swagger UI URL's in Keycloak 18 is not working after upgrade from keycloak 3 to keycloak 18 using keycloak policies/permissions

**URL:** <https://forum.keycloak.org/t/swagger-ui-urls-in-keycloak-18-is-not-working-after-upgrade-from-keycloak-3-to-keycloak-18-using-keycloak-policies-permissions/17733>\
**Category:** Configuring the server\
**Created:** [October 3, 2022, 8:51am UTC](https://forum.keycloak.org/t/swagger-ui-urls-in-keycloak-18-is-not-working-after-upgrade-from-keycloak-3-to-keycloak-18-using-keycloak-policies-permissions/17733 "2022-10-03T08:51:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pallavi](https://avatars.discourse-cdn.com/v4/letter/p/3be4f8/32.png) [@Pallavi](https://forum.keycloak.org/u/Pallavi)\
**Post date:** [October 3, 2022, 8:51am UTC](https://forum.keycloak.org/t/swagger-ui-urls-in-keycloak-18-is-not-working-after-upgrade-from-keycloak-3-to-keycloak-18-using-keycloak-policies-permissions/17733/1 "2022-10-03T08:51:48Z")

</div>

I have a Keycloak protected integraion/Rest API that I would like to access via swagger-UI. Keycloak provides the faciltiy to use policy and permission for different users, but I am not able to make it work. Earlier it was working in keycloak 3 but now we are facing issue with the same code after upgrading to keycloak 18 .

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/4/4f816d0f359640eb59af1f16178c8f3e526fe1b4.png)

Please help me on this issue. What needs to be corrected as per keycloak 18 in my code.
