Status not getting pulled correctly from /users endpoint

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.

@Pranav - You’re right. I was able to reproduce the issue.
I will go ahead a file an internal bug for this.

Thank you for bringing this to our notice.

1 Like

Any update when this will be fixed?