Using IDCS: Update an Existing Identity Settings Like the Expiry Date for the Activation Link Failed with the Error: error.identity.idsettings.posix.missing

(Doc ID 2391669.1)

Last updated on MAY 01, 2018

Applies to:

Identity Cloud Service (IDCS) - Version N/A and later
Information in this document applies to any platform.

Symptoms

Using IDCS:

There is business requirement to change the expiry date for the activation link from 1 day to 5 days and while updating the validity period of the token that comes through password reset URL by applying the steps in the doc below :
Config Of "valid Period Link", For Reset Password / Email (Doc ID 2340996.1)
https://docs.oracle.com/en/cloud/paas/identity-cloud/17.4.2/rest-api/api-Identity-Identity Settings.html

It failed with the error (error.identity.idsettings.posix.missing) as the following:

1) Get Access token
C:\Users\oracle>curl -i -H "Authorization: Basic Zjc0YjdmNjcxMDEyNGF" -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" --request POST https://idcs-XYZ.identity.oraclecloud.com/oauth2/v1/token -d "grant_type=client_credentials&scope=urn:opc:idm:__myscopes__"
HTTP/1.1 200 OK
Server: LBAAS
Date: Mon, 26 Mar 2018 13:44:35 GMT
Content-Type: application/json;charset=UTF-8
Content-Length: 3266
Connection: keep-alive
Cache-control: no-store
Pragma: no-cache
X-oracle-dms-rid: 0:1
X-oracle-dms-ecid: xYeGb0ctG00000000
Via: 1.1 net-idcs-config
X-content-type-options: nosniff
X-xss-protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Strict-Transport-Security: max-age=31536000; includeSubdomains;

{"access_token":"vssmyfSFtC2umP_A","token_type":"Bearer","expires_in":3600}

2)Request to replace the Identity Setting validity periods of the Emails using file IdentitySettings.txt
C:\Users\eduffey\Programs\AMD64>curl -X PUT -d @IdentitySettings.txt -H "Content-Type:application/scim+json" -H "Authorization:Bearer vssmyfSFtC2umP_A" https://idcs-ee35120f0533467daeb99304e7783c6f.identity.oraclecloud.com/admin/v1/IdentitySettings/IdentitySettings



Changes

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms