My Oracle Support Banner

Oracle Identity Governance (OIG) 12c: Unable to Sign Off Certification Without Providing the Password Using REST API (Doc ID 2798499.1)

Last updated on AUGUST 13, 2021

Applies to:

Identity Manager - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

When a certification definition is created using "Password required on sign-off" option unchecked, the certification can not be signed off using OIM REST API without providing the password. The following error is returned.

{
  "title": "Missing mandatory attributes in request data for action = complete",
  "status": 400,
  "detail": "Missing mandatory attributes in request data for action = complete",
  "instance": "oracle.iam.rest.commons.exceptions.BadRequestException",
  "referer": "http://<HOSTNAME>:<PORT>/iam/governance/selfservice/api/v1/certifications/<ID>/tasks/<TASKID>"
}

However using OIM UI, the certification can be completed (Signed Off) without providing the password. This behavior is inconsistent between OIM UI & REST API.

Certification should be completed without requiring password as per certification definition.

STEPS
-------

1. Create a User Certification definition using 2 users.
2. Run the certification job.
3. Get the task ids of the certification tasks by using the following REST Call:
GET http://<HOSTNAME>:<PORT>/iam/governance/selfservice/api/v1/certifications?fields=id,name,state
4. Note the task id number and the identifier. Let's say the task id is "1" & the identifier is "abcd".
5. Try to complete the certification task by using the following REST Call:
PUT http://<HOSTNAME>:<PORT>/iam/governance/selfservice/api/v1/certifications/1/tasks/abcd
Provide Body Text as shown below:
{

  "action": "complete"
  
}
6. It will give above error. But if the password is included in the body text as shown below, it gets succeeded.

{

  "action": "complete",
  "fields" : [{"name": "password", "value": ""}]

}

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.