And I am getting the csrf token from /v1/esignet/csrf/token end point. I am calling the /v1/esignet/client-mgmt/oidc-client api using the access_token which I got from the first curl and csrf token from the second api.
Can you confirm if the auth token is passed in the /v1/esignet/client-mgmt/oidc-client request header? The client management endpoint requires Bearer Token authorization.
As per the default configuration, “add_oidc_client” scope is expected to be allowed scope in the auth token.
Thank you for the update, Anusha will be able to respond to you tomorrow as she is travelling, this while let us also check if we can align another colleagure/expert to respond to your query.
Is it possible to share the complete client-mgmt request with headers (CURL) along with eSignet service logs to check further? if you are using postman you can copy it from postman console.
I was able to fix this one, this is due to trailing / in keycloak external url. I was able to create the client after adding clientNameLangMap to the request. Which is missing in the documentation.