We have a user that recieves a 401 upon login with...
# ory-network
a
We have a user that recieves a 401 upon login with the response:
Copy code
{
  "error": {
    "code": 401,
    "status": "Unauthorized",
    "request": "747cabbe-d3dc-9141-a339-1223df8f8f47",
    "reason": "This account was disabled.",
    "details": {
      "identity_id": "aa12b5bc-9cf6-4b00-909a-d752eb6284b8"
    },
    "message": "identity is disabled"
  }
}
Is there any way of checking if a identity is disabled in the Ory Console, and maybe even activate it from there?
l
identities have a
state
property. You can view and update the value via the REST API.
b
Question from Rikards' coworker 🙂 What would cause an account to be inactive? To our knowledge, we have not modified the
state
property , so the fact that the user is inactive is surprising
are they automatically set to inactive if they have not logged in for a while?
s
no, I checked the code and it can either happen on a) admin update b) web hook response
b
thanks!