When I create a user using
the response recieved shows the correct status (
PASSWORD_EXPIRED) however, when I query this user from
endpoint the status is shown as
ACTIVE, which should be
PASSWORD_EXPIRED as the password is expired and needs to be changed upon next login.
The status is shown correctly on Okta UI.
I think this is definitely a bug in the REST response.