By: Aman Negi user 23 Nov 2021 at 3:46 a.m. CST

2 Responses
Aman Negi gravatar
Hi Gluu Support, For the forget password functionality we have create a web app as the gluu documentation suggest. Using the web app i am able to set the password attribute. Like this: PUT /identity/restv1/scim/v2/Users/INUM_OF_USER attributes=id Host: gluu.host.com Accept: application/scim+json Content-Type: application/scim+json Authorization: Bearer TOKEN { "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"], "password": "PASSWORD_VALUE" } But can you provide a way, how can i update the oxPasswordExpirationDate. I am trying but it is not updating. I am getting the below error data: 'com.fasterxml.jackson.databind.exc.MismatchedInputExcept ion: Cannot construct instance of `java.util.LinkedHashMap` (although at least o ne Creator exists): no String-argument constructor/factory method to deseri alize from String value ('20220214082656.393000+0000')\n' + ' at [Source: (org.eclipse.jetty.server.HttpInputOverHTTP); line: 1, column: 112] (through reference chain: org.gluu.oxtrust.model.scim2.user .UserResource["oxPasswordExpirationDate"])'

By Mohib Zico Account Admin 11 Dec 2021 at 9:26 a.m. CST

Mohib Zico gravatar
Will test it...

By Aman Negi user 11 Dec 2021 at 2:26 p.m. CST

Aman Negi gravatar
Thanks a lot, looking forward to the response