# After updating to keycloak-18.0.1 client with Authorization is not working fine

**URL:** <https://forum.keycloak.org/t/after-updating-to-keycloak-18-0-1-client-with-authorization-is-not-working-fine/17695>\
**Category:** Miscellanaeous\
**Tags:** authentication\
**Created:** [September 30, 2022, 12:03pm UTC](https://forum.keycloak.org/t/after-updating-to-keycloak-18-0-1-client-with-authorization-is-not-working-fine/17695 "2022-09-30T12:03:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gagan](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gagan](https://forum.keycloak.org/u/Gagan)\
**Post date:** [September 30, 2022, 12:03pm UTC](https://forum.keycloak.org/t/after-updating-to-keycloak-18-0-1-client-with-authorization-is-not-working-fine/17695/1 "2022-09-30T12:03:59Z")

</div>

We are facing issue with clients having Authorization added.

We have 2 endpoints to our integrations.

1. First endpoint is to our scopes using authorization, which is working fine.
2. Second endpoint is to our other implementation where we dont want to have any authentication/role required.

Endpoints:

1. [domain.com/employee/v1/search](http://domain.com/employee/v1/search)
2. [domain.com/employee/v1/otherapi](http://domain.com/employee/v1/otherapi)

Currently we are doing this in our web.xml by adding security-constraint with role-name. This was working earlier with keycloak-3.1.0.Final but after updating to keyloak-18.0.1 it is asking for authentication and giving 401 error.
