Camunda User Profile

We are trying to implement SSO for Camunda Cockpit. We have followed the steps listed out here

We are now able to open the Cockpit from within our application however we see the call for /profile always returns 404.

Is there any specific things to look at for resolving the above error.
Camunda version: 7.12