Hi All,
In the change password flow i want to use strict
query parameter.
In the okta doc it is stated that "If true, validates against minimum age and history password policy"
So by looking at this statement “history password policy
” i can understand that user can’t use the previously set password.
Can anyone please explain me what is mean by “password minimum age”?
With my understanding it is stated that minimum time interval required between two password that means if i set this value to 2 days and tried to change the password multiple time in this two days then this API should throw an error.
But this API is not throwing an error rather password is getting changed on okta side.
curl --location --request POST 'https://<OKTA>/api/v1/users/00u2kklge9Vtqculz5d7?strict=true' \
--header 'Accept: application/json' \
--header 'Authorization: SSWS *** \
--header 'Content-Type: application/json' \
--header 'Cookie: JSESSIONID=A713F66D98E0540C6AE6C23330FEF0B4' \
--data-raw '{"credentials":{"password":{"value":"******"}}}'
Can any please correct me if i misunderstanding something.
Refering to document - Users | Okta Developer