LDAP integration broken after updating spring boot version

Hi, we are were running Camunda 7.18 with spring-boot 2.6.13, we have integrated out cockpit with AzureAD and SSO. Everything was running fine until we decided to upgrade spring-boot to 2.7.x.

Now our SSO integration seem to be rejected somehow by Camunda. We do not see anything strange in the server logs, user groups and login are retrieved properly and our SpringSecurityAuthenticationProvider does indeed retrieves all data properly from the JWT token.

We have observed the following behaviour:

  1. upon opening cockpit, we get redirected to SSO,
  2. once we log in on the SSO page, we get redirected back to cockpit,
  3. during cockpit load, a request is made to:
    https://serveraddress.com/camunda/api/admin/auth/user/default
    Before spring-boot update, this request returned 200, after spring-boopt update, this request returns 404.
  4. After we get 404, we are redirected to default cockpit login page

Has anyone experienced similar behaviour? How can we resolve this issue?

Have you enabled log level to DEBUG?

Ref Link: https://www.baeldung.com/spring-security-enable-logging