Status not getting pulled correctly from /users endpoint

api

#1

When I create a user using

{{url}}/api/v1/users?activate=true&nextLogin=changePassword

the response recieved shows the correct status (PASSWORD_EXPIRED) however, when I query this user from

{{url}}/api/v1/users

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.


#2

@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.


#3

Any update when this will be fixed?